
@media(max-width:767.98px){
article.history-master-article .hye-master-nav .master-nav-right{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important}
article.history-master-article .hye-master-nav .master-nav-right>a{width:100%!important;min-width:0!important;max-width:none!important;grid-column:auto!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:60px!important;border-radius:15px!important}
article.history-master-article .hye-master-nav .christianity-start-over{grid-column:1/-1!important;background:#2c3446!important;color:#fff!important}
article.history-master-article .hye-master-nav-bottom .top-button{grid-column:1/-1!important;background:#606773!important;color:#fff!important}
article.history-master-article .hye-master-nav-top .christianity-next:only-child{grid-column:1/-1!important}
article.history-master-article .hye-master-nav-bottom .christianity-next:first-child{grid-column:1!important}
article.history-master-article .hye-master-nav-bottom .christianity-next:first-child+.top-button{grid-column:2!important}
article.history-master-article .hye-master-nav .christianity-back:nth-last-child(2),article.history-master-article .hye-master-nav .christianity-back:nth-last-child(3){grid-column:1!important}
article.history-master-article .hye-master-nav .master-nav-right:not(:has(.christianity-next)){grid-template-columns:minmax(0,1fr)!important}
article.history-master-article .hye-master-nav .master-nav-right:not(:has(.christianity-next))>a{grid-column:1/-1!important}
}
@media(min-width:768px){article.history-master-article .hye-master-nav .master-nav-right{display:flex!important;gap:8px!important;justify-content:flex-end!important}article.history-master-article .hye-master-nav .master-nav-right>a{width:auto!important;min-height:36px!important;padding:8px 14px!important;border-radius:7px!important;font-size:.8rem!important}}

/* Independence mobile navigation: same arrangement as approved Genocide references. */
@media (max-width: 767px) {
 .hye-independence-chapters .history-master-article .hye-master-nav .master-nav-right {
   display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important;
   gap:9px !important; width:100% !important; align-items:stretch !important;
 }
 .hye-independence-chapters .history-master-article .hye-master-nav .master-nav-right > a.hye-master-button {
   display:flex !important; width:100% !important; min-width:0 !important;
   justify-content:center !important; align-items:center !important; box-sizing:border-box !important;
   text-align:center !important; white-space:normal !important;
 }
 .hye-independence-chapters .history-master-article .hye-master-nav .master-nav-right > a.nav-restart {
   grid-column:1/-1 !important; order:4 !important;
 }
 .hye-independence-chapters .history-master-article .hye-master-nav .master-nav-right > a.top-button {
   grid-column:1/-1 !important; order:3 !important;
 }
 .hye-independence-chapters .history-master-article .hye-master-nav .master-nav-right > a.christianity-back {order:1 !important}
 .hye-independence-chapters .history-master-article .hye-master-nav .master-nav-right > a.christianity-next {order:2 !important}
 .hye-independence-chapters .history-master-article .hye-master-nav-top .master-nav-right > a.christianity-next:only-child {grid-column:1/-1 !important}
 .hye-independence-chapters .history-master-article .hye-master-nav-bottom .master-nav-right > a.christianity-next:first-child:not(:last-child) {grid-column:auto !important}
 .hye-independence-chapters .history-master-article .hye-master-nav .master-nav-page {white-space:nowrap !important}
}


/* Armenian Independence mobile buttons — approved Armenian Genocide reference. */
@media screen and (max-width:767.98px) {
 body.hye-independence-chapters article.history-master-article .hye-master-nav .master-nav-right {
  display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important; width:100%!important; align-items:stretch!important;
  flex-direction:unset!important; justify-content:stretch!important;
 }
 body.hye-independence-chapters article.history-master-article .hye-master-nav .master-nav-right > a.hye-master-button {
  display:flex!important; width:100%!important; max-width:none!important; min-width:0!important;
  min-height:58px!important; box-sizing:border-box!important; padding:12px 8px!important;
  justify-content:center!important; align-items:center!important; text-align:center!important;
  border-radius:15px!important; font-weight:700!important; white-space:normal!important;
  grid-column:auto!important;
 }
 body.hye-independence-chapters article.history-master-article .hye-master-nav .master-nav-right > a.christianity-back {
  grid-column:1!important; order:1!important; background:#b9a04e!important; color:#fff!important;
 }
 body.hye-independence-chapters article.history-master-article .hye-master-nav .master-nav-right > a.christianity-next {
  grid-column:2!important; order:2!important; background:#b9a04e!important; color:#fff!important;
 }
 body.hye-independence-chapters article.history-master-article .hye-master-nav .master-nav-right > a.top-button {
  grid-column:1/-1!important; order:3!important; background:#606773!important; color:#fff!important;
 }
 body.hye-independence-chapters article.history-master-article .hye-master-nav .master-nav-right > a.nav-restart {
  grid-column:1/-1!important; order:4!important; background:#2c3446!important; color:#fff!important;
 }
 /* First part: top NEXT full width; bottom NEXT and TOP share the first row. */
 body.hye-independence-chapters article.history-master-article .hye-master-nav-top .master-nav-right:not(:has(.christianity-back)) > a.christianity-next {
  grid-column:1/-1!important;
 }
 body.hye-independence-chapters article.history-master-article .hye-master-nav-bottom .master-nav-right:not(:has(.christianity-back)) > a.christianity-next {
  grid-column:1!important;
 }
 body.hye-independence-chapters article.history-master-article .hye-master-nav-bottom .master-nav-right:not(:has(.christianity-back)) > a.top-button {
  grid-column:2!important; order:2!important;
 }
 /* Final part: no NEXT, BACK takes the full row. */
 body.hye-independence-chapters article.history-master-article .hye-master-nav .master-nav-right:not(:has(.christianity-next)) > a.christianity-back {
  grid-column:1/-1!important;
 }
 body.hye-independence-chapters article.history-master-article .hye-master-nav .master-nav-page {
  display:block!important; width:100%!important; text-align:right!important; white-space:nowrap!important;
 }
}
