/* Auroviq blog visual fix — no stretch; proper landscape media frames */

.aq-blog-hero-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #e2e8f0;
}

.aq-blog-hero-media img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.aq-blog-card-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f1f5f9;
}

.aq-blog-card-media img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
}

/* Prefer 16:9 canvas when our figures are present */
.aq-blog-canvas {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  background: #f1f5f9;
}

.aq-blog-canvas img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  max-height: none !important;
}

/* Article body images: full width of content column, natural height, never stretched */
.auroviq-article img,
.aq-blog-body img,
.prose img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 1rem;
  margin: 1.5em 0;
  display: block;
}

/* Figures from AI blog generator */
.auroviq-article figure,
.aq-blog-body figure {
  margin: 1.75rem 0;
  width: 100%;
}

.auroviq-article figure img,
.aq-blog-body figure img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: cover !important;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
}

.aq-blog-body {
  max-width: 48rem;
  line-height: 1.75;
}

.aq-blog-body p {
  margin: 0 0 1.15rem;
}

.aq-blog-body h2 {
  margin: 2.25rem 0 0.85rem;
  line-height: 1.25;
}

@media (min-width: 1024px) {
  .aq-blog-body {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .aq-blog-body {
    font-size: 1rem;
  }
}
