/* Per-publication author panel, only scoped to explicit display modes. */
.tinta-manuscript-custom .tinta-author-avatar,.tinta-manuscript-custom .tv-public-writer-avatar{display:none!important}
.tinta-manuscript-author{box-sizing:border-box;width:min(178px,100%);margin:0 18px 10px 0;padding:0;display:flex;flex-direction:column;gap:4px;text-align:center!important;line-height:1.25;color:inherit;font-size:13px;break-inside:avoid;float:left;shape-outside:margin-box}
.tinta-manuscript-author .tinta-manuscript-author-photo{display:block!important;width:100%!important;height:auto!important;aspect-ratio:5/6;max-height:205px!important;object-fit:cover!important;margin:0!important;border:1px solid #ab9e84;border-radius:5px!important;box-sizing:border-box}
.tinta-manuscript-author .tinta-manuscript-initial{display:grid!important;place-items:center;font-size:42px;background:#e6e0d3;color:#40392f}
.tinta-manuscript-name,.tinta-manuscript-caption{border:1px solid currentColor;border-radius:3px;padding:5px 6px;overflow-wrap:anywhere;line-height:1.3;font-family:inherit;text-align:center;box-sizing:border-box}
.tinta-manuscript-name{font-weight:700}.tinta-manuscript-caption{font-size:.9em}
.tinta-mag-body .tinta-manuscript-author{float:none;width: min(140px,45%);margin:0 0 .7em!important;font-size:clamp(10px,1.8vw,13px);text-align:center!important;max-height:none!important}
.tinta-mag-body .tinta-manuscript-author .tinta-manuscript-author-photo{max-height:145px!important;width:100%!important;aspect-ratio:5/6}
.tinta-mag-body--solo-media>.tinta-manuscript-author{margin:0!important;max-height:none!important;width:min(140px,45%)!important}
.tinta-manuscript-cover-spacer{min-height:0}
[data-reading-standard] .article-prose:after{content:"";display:block;clear:both}
.tinta-article-content>.tinta-manuscript-author{float:none;margin-bottom:12px}
@media(max-width:480px){.tinta-manuscript-author{width: min(132px,43%);margin-right:12px;font-size:12px}.tinta-mag-body .tinta-manuscript-author{width: min(116px,43%);font-size:11px}}

/* R2: let each line wrap around the author float, not the entire paragraph. */
.tinta-site-body .tinta-article-page .article-prose.tinta-manuscript-flow[data-article-reader] {
  display:flow-root;
}
.tinta-site-body .tinta-article-page .article-prose.tinta-manuscript-flow[data-article-reader] > p {
  display:block!important;
  float:none!important;
  clear:none!important;
  overflow:visible!important;
  contain:none!important;
  width:auto!important;
  max-width:none!important;
}
.tinta-site-body .tinta-article-page .article-prose.tinta-manuscript-flow[data-article-reader] > .tinta-manuscript-author {
  float:left!important;
  clear:none!important;
  width:min(160px,30%);
  margin:0 16px 9px 0!important;
  shape-outside:none;
  text-align:center!important;
  text-align-last:center!important;
  gap:4px;
}
.tinta-site-body .tinta-article-page .article-prose.tinta-manuscript-flow[data-article-reader] > .tinta-manuscript-author > .tinta-manuscript-author-photo {
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  aspect-ratio:5/6;
  max-height:none!important;
  object-fit:cover!important;
  margin:0!important;
  border-radius:5px!important;
}
.tinta-site-body .tinta-article-page .article-prose.tinta-manuscript-flow[data-article-reader] .tinta-manuscript-author :is(.tinta-manuscript-name,.tinta-manuscript-caption) {
  text-align:center!important;
  text-align-last:center!important;
  text-indent:0!important;
  padding:4px 4px;
  margin:0!important;
  line-height:1.25!important;
}
@media(max-width:600px) {
  .tinta-site-body .tinta-article-page .article-prose.tinta-manuscript-flow[data-article-reader] > .tinta-manuscript-author {
    width:min(110px,30%);
    margin:0 11px 8px 0!important;
    font-size:11px;
  }
  /* R3: preserve the saved alignment on phones. */
  .tinta-site-body .tinta-article-page .article-prose.tinta-manuscript-flow[data-article-reader] > .tinta-manuscript-author {
    width:min(140px,35%);
  }
}

/* R3: follow the editor's saved paragraph alignment, including on phones. */
.tinta-site-body.tinta-detail-page .tinta-article-page .article-prose[data-article-reader].article-align-justify,
.tinta-site-body.tinta-detail-page .tinta-article-page .article-prose[data-article-reader].article-align-justify :is(p,li) {
  text-align:justify!important;
  text-align-last:start!important;
  text-justify:inter-word!important;
  word-spacing:normal!important;
}
/* Keep authored verse and other saved alignment modes independent. */
.tinta-site-body.tinta-detail-page .tinta-article-page .article-prose[data-article-reader].article-align-left :is(p,li) {text-align:left!important;text-align-last:auto!important}
.tinta-site-body.tinta-detail-page .tinta-article-page .article-prose[data-article-reader].article-align-center :is(p,li) {text-align:center!important;text-align-last:auto!important}
.tinta-site-body.tinta-detail-page .tinta-article-page .article-prose[data-article-reader].article-align-right :is(p,li) {text-align:right!important;text-align-last:auto!important}

/* Both labels stay single-line. JS fits the full text to the available width. */
.tinta-manuscript-author :is(.tinta-manuscript-name,.tinta-manuscript-caption) {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis;
  overflow-wrap:normal!important;
  word-break:normal!important;
  text-align:center!important;
  text-align-last:center!important;
  text-indent:0!important;
  letter-spacing:normal!important;
  word-spacing:normal!important;
  padding:4px 3px!important;
  line-height:1.3!important;
}

/* R4 — identical author float in the measuring leaf and the rendered leaf. */
.tinta-article-page [data-flipmag] .tinta-mag-body > .tinta-manuscript-author {
  float:left!important;clear:none!important;
  width:min(140px,35%)!important;max-width:35%!important;
  margin:0 .65em .4em 0!important;shape-outside:none;
  font-size:clamp(10px,1.8vw,13px);gap:4px;
}
.tinta-article-page [data-flipmag] .tinta-mag-body > .tinta-manuscript-author > .tinta-manuscript-author-photo {
  width:100%!important;height:auto!important;aspect-ratio:5/6;
  max-height:none!important;object-fit:cover!important;margin:0!important;
}
.tinta-article-page [data-flipmag] .tinta-mag-body > .tinta-manuscript-author > .tinta-manuscript-name,
.tinta-article-page [data-flipmag] .tinta-mag-body > .tinta-manuscript-author > .tinta-manuscript-caption {
  display:flex!important;align-items:center;justify-content:center;
  /* Stable label heights for pagination, even after the R3 font fitting. */
  height:23px!important;min-height:23px!important;flex:none;
}
/* A regular block paragraph can flow beside and then under a float. */
.tinta-article-page [data-flipmag] .tinta-mag-body > :is(p,blockquote,ul,ol) {
  display:block!important;clear:none!important;float:none!important;
  overflow:visible!important;contain:none!important;width:auto!important;max-width:none!important;
}
/* No thumbnail chosen: use a three-row editorial cover, not a blank photo slot. */
.tinta-article-page [data-flipmag] .tinta-mag-cover-art.tinta-mag-cover--typographic {
  grid-template-rows:auto minmax(0,1fr) auto!important;
  gap:clamp(8px,3%,20px);padding:7% 7% 9%;
  background:linear-gradient(155deg,#fbf9f1,#f0ead9)!important;
  color:#183b32!important;text-shadow:none!important;
}
.tinta-article-page [data-flipmag] .tinta-mag-cover--typographic .tinta-mag-cover-center {
  align-items:center!important;justify-content:center!important;
  text-align:center!important;padding:0 2%!important;gap:12px;
}
.tinta-article-page [data-flipmag] .tinta-mag-cover--typographic .tinta-mag-cover-center::before,
.tinta-article-page [data-flipmag] .tinta-mag-cover--typographic .tinta-mag-cover-center::after {
  content:"";width:48%;max-width:140px;border-top:1px solid #b59a62;
}
.tinta-article-page [data-flipmag] .tinta-mag-cover--typographic .tinta-mag-cover-center h2 {
  display:block!important;overflow-wrap:anywhere;text-wrap:balance;
  font-size:clamp(23px,5vw,42px);line-height:1.16;
  color:#183b32!important;max-width:100%;
}
.tinta-article-page [data-flipmag] .tinta-mag-cover--typographic .tinta-mag-deck {
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;
  overflow:hidden;margin:0;max-width:100%;font-size:clamp(10px,2.7vw,14px);
  color:#475b51!important;text-shadow:none;
}
.tinta-article-page [data-flipmag] .tinta-mag-cover--typographic .tinta-mag-cover-foot {
  justify-content:center;text-align:center;border-color:#b59a62;
}
