
/* Armenian Independence archival image treatment — light gray, no gold outlines */
.history-master-article .ind-image-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0 28px;align-items:stretch}
.history-master-article .ind-image-single{margin:22px 0 28px}
.history-master-article .ind-figure{min-width:0;margin:0;padding:10px 10px 12px;border:1px solid #dad9d5;border-radius:8px;background:#f4f4f2;overflow:hidden;display:flex;flex-direction:column}
.history-master-article .ind-figure img{width:100%;height:220px;object-fit:cover;display:block;border-radius:5px;background:#e5e5e2}
.history-master-article .ind-image-single .ind-figure img{height:auto;max-height:660px;object-fit:contain}
.history-master-article .ind-figure figcaption{font-size:.87rem;line-height:1.5;color:#354052;margin-top:9px;overflow-wrap:anywhere}
.history-master-article .chapter-body h3{font-size:clamp(1.2rem,2vw,1.6rem);line-height:1.35;color:#24314a;margin:1.7em 0 .65em}
.history-master-article .chapter-body p{line-height:1.8}
.history-master-article .ind-document-title{font-size:clamp(1.45rem,2.4vw,2rem);line-height:1.3;color:#9a7b36}
@media(max-width:600px){.history-master-article .ind-image-gallery{grid-template-columns:1fr;gap:12px}.history-master-article .ind-figure img{height:auto;max-height:380px;object-fit:contain}}

/* Three-image presentation: retain existing frames, captions and image order. */
@media (min-width: 601px) {
 .history-master-article .ind-image-gallery.ind-gallery-one-plus-two {grid-template-columns:repeat(2,minmax(0,1fr));}
 .history-master-article .ind-image-gallery.ind-gallery-one-plus-two > .ind-figure:first-child {grid-column:1/-1;}
 .history-master-article .ind-image-gallery.ind-gallery-one-plus-two > .ind-figure:first-child img {height:auto;max-height:660px;object-fit:contain;}
 .history-master-article .ind-image-gallery.ind-gallery-with-featured {grid-template-columns:repeat(3,minmax(0,1fr));}
 .history-master-article .ind-image-gallery.ind-gallery-with-featured > .ind-figure img {height:190px;object-fit:cover;}
}
@media (max-width:600px) {
 .history-master-article .ind-image-gallery.ind-gallery-one-plus-two,
 .history-master-article .ind-image-gallery.ind-gallery-with-featured {grid-template-columns:minmax(0,1fr);}
}

/* Verified gallery arrangement: one feature + two matched thumbnails,
   or three matched thumbnails when a separate feature exists. */
@media (min-width: 601px) {
 html body .history-master-article .chapter-body .ind-image-gallery.ind-gallery-one-plus-two {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important;
 }
 html body .history-master-article .chapter-body .ind-image-gallery.ind-gallery-one-plus-two > figure.ind-figure:first-child {
  grid-column:1 / -1!important;
 }
 html body .history-master-article .chapter-body .ind-image-gallery.ind-gallery-one-plus-two > figure.ind-figure:first-child img {
  width:100%!important;height:auto!important;max-height:650px!important;object-fit:contain!important;
 }
 html body .history-master-article .chapter-body .ind-image-gallery.ind-gallery-one-plus-two > figure.ind-figure:not(:first-child) img {
  width:100%!important;height:230px!important;object-fit:cover!important;
 }
 html body .history-master-article .chapter-body .ind-image-gallery.ind-gallery-with-featured {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;
 }
 html body .history-master-article .chapter-body .ind-image-gallery.ind-gallery-with-featured > figure.ind-figure {
  grid-column:auto!important;
 }
 html body .history-master-article .chapter-body .ind-image-gallery.ind-gallery-with-featured > figure.ind-figure img {
  width:100%!important;height:190px!important;object-fit:cover!important;
 }
}
@media (max-width: 600px) {
 html body .history-master-article .chapter-body .ind-image-gallery.ind-gallery-one-plus-two,
 html body .history-master-article .chapter-body .ind-image-gallery.ind-gallery-with-featured {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;
 }
 html body .history-master-article .chapter-body .ind-image-gallery.ind-gallery-one-plus-two > figure.ind-figure,
 html body .history-master-article .chapter-body .ind-image-gallery.ind-gallery-with-featured > figure.ind-figure {
  grid-column:1!important;min-width:0!important;
 }
 html body .history-master-article .chapter-body .ind-image-gallery.ind-gallery-one-plus-two img,
 html body .history-master-article .chapter-body .ind-image-gallery.ind-gallery-with-featured img {
  width:100%!important;height:auto!important;max-height:420px!important;object-fit:contain!important;
 }
}
