/* Articirra Admin Toolkit article title positioning. GPL-2.0-or-later. */
.aat-article-image-frame {
  position: relative;
  display: flow-root;
  isolation: isolate;
  clear: both;
}
.aat-article-image-frame > .item-image,
.aat-article-image-frame > .com-content-article__image,
.aat-article-image-frame > [data-aig] {
  float: none !important;
  margin: 0 !important;
  max-width: 100%;
}
.aat-article-title:not(.aat-article-title--over) { clear: both; }
.aat-article-title--over {
  position: absolute !important;
  inset: 0 0 auto !important;
  z-index: 5;
  box-sizing: border-box;
  margin: 0 !important;
  padding: clamp(0.75rem, 3vw, 1.75rem) !important;
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(to bottom, rgba(0,0,0,.88), rgba(0,0,0,.55) 75%, transparent);
  text-shadow: 0 1px 3px #000;
  pointer-events: none;
}
.aat-article-title--over :is(h1, h2) {
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(1.125rem, 3vw, 2.25rem) !important;
  line-height: 1.2 !important;
  overflow-wrap: anywhere;
}
.aat-article-title--over:is(h1, h2) {
  font-size: clamp(1.125rem, 3vw, 2.25rem) !important;
  line-height: 1.2 !important;
  overflow-wrap: anywhere;
}
.aat-article-title--over a { color: #fff !important; pointer-events: auto; }
@media print {
  .aat-article-title--over { position: static !important; color: inherit !important; background: none; text-shadow: none; }
  .aat-article-title--over :is(h1, h2), .aat-article-title--over a { color: inherit !important; }
}
