
/* First Nagorno-Karabakh War: photo frames only. Override legacy theme cards. */
html body .hye-history-reading.history-master-article .chapter-body figure.history-war-featured,
html body .hye-history-reading.history-master-article .chapter-body .history-war-gallery figure,
html body .history-master-article .chapter-body figure.history-war-featured,
html body .history-master-article .chapter-body .history-war-gallery figure {
  display:block!important;box-sizing:border-box!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  margin:0!important;padding:0 0 10px!important;
  background:#f4f4f3!important;background-color:#f4f4f3!important;
  background-image:none!important;border:1px solid #dcdad4!important;
  border-radius:9px!important;outline:0!important;box-shadow:none!important;
  overflow:hidden!important;
}
html body .history-master-article .chapter-body figure.history-war-featured {
  margin:20px 0 26px!important;
}
html body .history-master-article .chapter-body .history-war-gallery {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;width:100%!important;max-width:100%!important;
  margin:20px 0 26px!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  align-items:stretch!important;
}
html body .history-master-article .chapter-body figure.history-war-featured > img,
html body .history-master-article .chapter-body .history-war-gallery figure > img {
  display:block!important;width:100%!important;max-width:100%!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  aspect-ratio:auto!important;object-fit:contain!important;
  margin:0!important;padding:0!important;
  background:transparent!important;background-color:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
html body .history-master-article .chapter-body figure.history-war-featured > figcaption,
html body .history-master-article .chapter-body .history-war-gallery figure > figcaption {
  display:block!important;margin:0!important;padding:9px 12px 0!important;
  background:#f4f4f3!important;color:#444!important;border:0!important;
  font-size:13px!important;line-height:1.45!important;text-align:left!important;
  opacity:1!important;text-shadow:none!important;
}
@media(max-width:600px){
 html body .history-master-article .chapter-body .history-war-gallery {gap:10px!important;}
}
@media(max-width:420px){
 html body .history-master-article .chapter-body .history-war-gallery {
  grid-template-columns:1fr!important;
 }
}
