/* Article text follows the same two edges, with natural paragraph endings. */
main p:not(:where(nav p, form p, address p, .leader-role, .case-location, .country-status, .article-source, .big-day)),
main .project-description,
main .article-body,
main article blockquote {
  text-align: justify;
  text-align-last: start;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

main:lang(zh) p,
main:lang(zh) .project-description,
main:lang(zh) .article-body {
  text-justify: inter-character;
}

.country-prepare li > p {
  flex: 1;
  min-width: 0;
}

main .contact .office-details {
  text-align: start;
  text-justify: auto;
  hyphens: none;
}

.office-details a[href^="tel:"] {
  white-space: nowrap;
}

/* Compact descriptions, lists and contact blocks share a flush start edge. */
main :is(.tech-visual, .service-expansion-heading, .service-card, .country-prepare, .contact) p,
main p:is(.tech-application-note, .note) {
  text-align: start;
  text-align-last: auto;
  text-justify: none;
  letter-spacing: normal;
  word-spacing: normal;
}

main:lang(zh) h2 {
  text-wrap: balance;
  line-break: strict;
}

.project-brand {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 78ch;
  border-top: 2px solid #ae2026;
  padding-block: 1.5rem;
}
.project-brand h3 { margin: 1.5rem 0 .4rem; font-size: 1.12rem; }
.detail-body .project-brand p { line-height: 1.85; }
.project-brand .brand-sources { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: baseline; }
.brand-sources a { color: #982026; text-underline-offset: .2em; }

main .proof-media a > p {
  text-align: start;
  -webkit-hyphens: none;
  hyphens: none;
}

@media (max-width: 600px) {
  .proof-media > div:last-child {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .proof-media a {
    padding: 12px 14px;
  }
}

.responsibility { scroll-margin-top: 8rem; padding: clamp(24px,4vw,56px) 5vw; }
.responsibility-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(16px,3vw,40px); }
.responsibility-grid article { border-top:2px solid #af202a; padding-top:12px; }
.responsibility-grid h3 { margin:0; }
.responsibility-grid article > div { display:flex; flex-wrap:wrap; gap:8px 20px; }
.responsibility-grid a { text-decoration:underline; text-underline-offset:.22em; padding-block:6px; }
@media(max-width:650px){ .responsibility-grid { grid-template-columns:1fr; } }

.esg-practice { max-width: 84ch; margin-inline: auto; box-sizing: content-box; }
.esg-practice article { border-top: 1px solid #ccc; padding-block: 1em; }
.esg-practice h3 { margin: 0 0 .45em; }
.esg-practice p { line-height: 1.65; text-align: justify; hyphens: auto; }
.esg-practice article p { margin: 0; }

/* YFC event photo: keep the full group, reduce unused ceiling and floor. */
.news-card[data-story="story-4"] .news-image{aspect-ratio:16/9;background:#fff}
.news-card[data-story="story-4"] .news-image img{object-fit:cover;object-position:50% 55%;filter:saturate(.89) contrast(1.025) brightness(1.025)}
.news-article[data-story="story-4"] .article-photo img{aspect-ratio:16/9;object-fit:cover;object-position:50% 55%;filter:saturate(.89) contrast(1.025) brightness(1.025)}
