body[data-route="comments"] > main.comments-page {
  box-sizing: border-box;
  width: min(100%, 52rem);
  max-width: none;
  margin: 0 auto;
  padding: var(--home-gap, 1rem) clamp(.75rem, 4vw, 2rem) var(--home-gap, 1rem);
  min-width: 0;
  min-height: 0;
}
.comments-page h1:not(.tile-title) {
  margin: 0 0 var(--home-gap, 1rem);
  text-align: center;
  font: 700 calc(clamp(1.5rem, 5vw, 2rem) * var(--text-scale, 1))/1.16 Georgia, serif;
  color: #412632;
}
.comments-page figure {
  width: min(100%, 34rem);
  margin: 0 auto;
}
.comments-page figure img {
  display: block;
  width: 100%;
  height: auto;
}
.comments-page .comment-link {
  display: grid;
  place-items: center;
  width: fit-content;
  min-height: 44px;
  margin: 0 auto var(--home-gap, 1rem);
  padding-inline: .75rem;
  color: #703d4f;
  font: 700 1.2rem/1.25 Georgia, serif;
  text-align: center;
  text-decoration: none;
}
.comments-page .comment-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.comment-response {
  box-sizing: border-box;
  position: relative;
  container-type: inline-size;
  width: min(100%, 34rem);
  aspect-ratio: 1;
  padding: 0;
  margin: var(--home-gap, 1rem) auto 0;
  border: 2px solid #703d4f;
  border-radius: clamp(.55rem, 2.7vw, .95rem);
  background: #fcf8f5;
  color: #412632;
}
.comment-response h2 {
  margin: 10.3cqw 8.3cqw 0;
  color: inherit;
  text-align: center;
  font: 700 clamp(1.3rem, 6.3cqw, 2.2rem)/1.16 Georgia, serif;
}
.comment-response p {
  margin: 8cqw 8.3cqw 0;
  text-align: left;
  color: inherit;
  font: 400 clamp(1rem, 4.17cqw, 1.4rem)/1.5 system-ui, sans-serif;
}
.comment-response-signature {
  position: absolute;
  inset: auto 8.3cqw 8cqw auto;
  color: #703d4f;
  font: 400 clamp(.875rem, 3.61cqw, 1.25rem)/1.4 system-ui, sans-serif;
}
.comment-back {
  display: block;
  width: fit-content;
  margin: var(--home-gap, 1rem) auto 0;
}

.site-comment-board{width:100%;margin:var(--home-gap,1rem) auto 0;box-sizing:border-box;color:#412632;overflow-wrap:anywhere}
.site-comment-board h2{text-align:center;margin:.1rem 0 .65rem}
.site-comment-board form:not([hidden]){display:grid;gap:.6rem;text-align:left}
.site-comment-board input,.site-comment-board textarea{width:100%;min-width:0;box-sizing:border-box;padding:.65rem;font:inherit;color:inherit;background:white;border:1px solid #986c7d;border-radius:.35rem}
.site-comment-board textarea{resize:vertical}
.site-comment-board button{min-height:44px;padding:.4rem .8rem;border:1px solid #986c7d;border-radius:.35rem;background:white;color:#412632;font:inherit;cursor:pointer}
.site-comment-board button:disabled{opacity:.6;cursor:default}
.site-comment-board .site-comment-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.site-comment-board [data-site-comment-status]:not(:empty){margin:1rem 0}
.site-comment-board .site-comment-item .site-comment-text{white-space:pre-wrap;text-align:justify}
.site-comment-board .site-comment-actions{display:flex;flex-wrap:wrap;gap:.5rem}

.site-comment-board .site-comment-tabs{display:grid;gap:.75rem;margin-bottom:var(--home-gap,1rem)}
.site-comment-tabs [data-site-comments]:not(:empty){display:grid;gap:.75rem}
.site-comment-tabs [data-site-comments]:empty{display:none}
.site-comment-content{padding:.85rem;min-width:0}
.site-comment-content .site-comment-text{margin:0}

.site-comment-tabs .home-accordion.uniform-tile{border-style:solid;background:var(--tile-white);margin:0}
.site-comment-content .comment-response{width:100%;aspect-ratio:auto;border:0;border-top:1px solid #dac8cc;border-radius:0;background:transparent;padding:.85rem 0 0;container-type:normal}
.site-comment-content .comment-response h2{margin:0 0 .55rem;font:700 1.2rem/1.35 Georgia,serif}
.site-comment-content .comment-response p{margin:0;font:400 1rem/1.5 system-ui,sans-serif}
.site-comment-content .comment-response-signature{position:static;display:block;margin-top:.55rem;text-align:right;font:400 .95rem/1.4 system-ui,sans-serif}
.site-comment-compose{text-align:center;margin:var(--home-gap,1rem) 0 0}
.site-comment-compose>summary{cursor:pointer;list-style:none}
.site-comment-compose>summary::-webkit-details-marker{display:none}
.site-comment-compose>p{margin:.5rem 0;text-align:center}

.comments-page .comments-intro.uniform-tile{margin:0;overflow:hidden}
.comments-page .site-comment-compose{width:min(100%,34rem);margin-inline:auto}
.comments-page .home-card-layout-reference{position:fixed;inset:0 auto auto 0;visibility:hidden;pointer-events:none;z-index:-1;width:100%;height:0;overflow:hidden}

.comments-page :is(.comments-intro,.site-comment-item)>.tile-heading>.tile-label{min-block-size:var(--comments-label-slot,0px)}

.site-comment-first .home-crossroads-body>.comment-link:last-child{margin:var(--home-gap,1rem) auto 0;justify-self:center;align-self:center}

/* Use the same one-rem rhythm as Home and the Family stacks. */
.comments-page .site-comment-board,
.comments-page .site-comment-tabs,
.comments-page .site-comment-tabs [data-site-comments]:not(:empty){
  display:grid;gap:var(--home-gap,1rem)
}
.comments-page .site-comment-tabs{margin:0}
.comments-page .site-comment-tabs details.home-accordion{margin:0}
/* Plain centered text links, using the site's standard reading text. */
.comments-page .leave-comment-link{
  display:block;width:fit-content;justify-self:center;margin-inline:auto;padding:0;
  color:#0645ad;font:inherit;text-decoration:underline;text-underline-offset:.15em
}
.comments-page .leave-comment-link:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.comments-page #leave-a-comment{margin-block:0;scroll-margin-top:calc(var(--site-header-height,9rem) + var(--home-gap,1rem))}
.comments-page #leave-a-comment[hidden]{display:none!important}

.comments-page .leave-comment-link-top{margin-block:0 var(--home-gap,1rem)}

.comments-page .site-comment-date{
  margin:.6rem 0 .85rem;text-align:center;color:#703d4f;
  font-size:calc(.875rem * var(--text-scale,1));line-height:1.4
}

/* Frame the tab heading, never the expanded comment or its reply. */
.comments-page .site-comment-tabs details.site-comment-item[open]{
  border-color:transparent;background:transparent;overflow:visible
}
.comments-page .site-comment-tabs details.site-comment-item[open]>summary.tile-heading{
  border-radius:.65rem;box-shadow:inset 0 0 0 2px #703d4f
}
.comments-page .site-comment-tabs details.site-comment-item>.site-comment-content,
.comments-page .site-comment-content .comment-response{
  border:0;border-radius:0;background:transparent;box-shadow:none
}

/* Every dark comment heading uses the same pink label and near-white copy. */
.comments-page .site-comment-tabs .site-comment-item[data-tile-tone="red"]>summary.tile-heading{
  --tile-label-color:#f6cad7;--tile-title-color:#fffaf7;--tile-summary-color:#fffaf7;
  color:#fffaf7
}
.comments-page .site-comment-tabs .site-comment-item[data-tile-tone="red"]>summary.tile-heading>.tile-title,
.comments-page .site-comment-tabs .site-comment-item[data-tile-tone="red"]>summary.tile-heading>.tile-summary{
  color:#fffaf7
}

/* Keep the two published comment labels intact on narrow phones. */
@media (max-width:760px) {
  .comments-page .site-comment-tabs :is(.site-comment-first,#comment-2)>summary.tile-heading>.tile-title{
    font-size:clamp(1rem,5.2vw,1.5rem);
    white-space:nowrap;text-wrap:nowrap;overflow-wrap:normal
  }
}

@media (max-width: 760px) {
  body[data-route="comments"] > main.comments-page {
    padding-bottom: .65rem;
  }
  .comments-page .site-comment-board {
    row-gap: .5rem;
  }
  .comments-page .site-comment-date {
    margin-bottom: .2rem;
  }
}
