/**
 * PC 图文详情正文图片对齐样式
 *
 * @author By AICode
 * @date 2026-06-09
 */

.imagetext-module-detail .imagetext-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.imagetext-module-detail .imagetext-content figure.image.align-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0;
}

.imagetext-module-detail .imagetext-content figure.image.align-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 10px 0;
}

.imagetext-module-detail .imagetext-content figure.image.align-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 10px 0;
}

.imagetext-module-detail .imagetext-content p[style*='text-align: center'] img,
.imagetext-module-detail .imagetext-content p[style*='text-align:center'] img,
.imagetext-module-detail .imagetext-content img[style*='margin-left: auto'],
.imagetext-module-detail .imagetext-content img[style*='margin-left:auto'] {
  margin-left: auto !important;
  margin-right: auto !important;
}

.imagetext-module-detail .imagetext-content p[style*='text-align: center'],
.imagetext-module-detail .imagetext-content p[style*='text-align:center'] {
  text-indent: 0 !important;
  text-align: center !important;
}

.imagetext-module-detail .imagetext-content figcaption {
  text-align: center;
  font-size: 12px;
  color: #86909c;
  line-height: 1.5;
  margin-top: 4px;
}
