/* Natural size: the file's own width, never wider than the space. With the width known the space is held before the picture loads. */
.tt-image-block--natural { width: auto; max-width: 100%; }
.tt-image-block--natural .tt-media { aspect-ratio: auto; background: none; }
.tt-image-block--natural .tt-media > img { display: block; width: auto; max-width: 100%; height: auto; }
.tt-image-block--natural[style*="--tt-natural"] { width: min(100%, var(--tt-natural)); }
.tt-image-block--natural[style*="--tt-natural"] .tt-media > img { width: 100%; }
.tt-image-block--fill { width: 100%; }
.tt-image-block--custom { width: var(--tt-image-width); }
.tt-image-block__link { display: block; }
.tt-image-block[style*="--tt-image-border"] .tt-media { border: var(--tt-image-border); }
/* Height Fill (Adapt ratio): the picture fills the height its row gives it. */
.tt-image-block--h-fill { align-self: stretch; display: flex; flex-direction: column; }
.tt-image-block--h-fill .tt-image-block__link { flex: 1 1 auto; display: flex; flex-direction: column; }
.tt-image-block--h-fill .tt-media { flex: 1 1 auto; }
.tt-image-block--h-fill .tt-media > img, .tt-image-block--h-fill .tt-media > picture > img { position: absolute; inset: 0; }
@media (max-width: 749px) {
  .tt-image-block--m-natural { width: auto; max-width: 100%; }
  .tt-image-block--m-fill { width: 100%; }
  .tt-image-block--m-custom { width: var(--tt-image-width-m); }
}
