/* Preserve the existing page geometry while keeping functional diagrams legible. */
[data-image-kind="diagram"] img {
 object-fit: contain !important;
 object-position: center !important;
 background: #edf2f5;
 transform: none !important;
}
[data-image-kind="diagram"] .v72-image-frame { background: #edf2f5; }
.v7-figure[data-image-kind="diagram"] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.v7-figure[data-image-kind="diagram"] figcaption { position: static; margin: 0; padding: 10px 16px; background: #edf2f5; letter-spacing: .02em; }
.v7-figure figcaption a,.v72-figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.detail-hero .v73-scene-credit { position: absolute; right: 24px; bottom: 16px; z-index: 2; padding: 5px 9px; color: #fff; background: rgba(10,35,53,.62); font-size: 12px; line-height: 1.5; }
.detail-hero .detail-title .en { color: rgba(255,255,255,.88); }
.v73-figure-open { display: inline-block; margin-inline-start: 14px; font-size: 12px; white-space: nowrap; }
.v72-figure[data-image-kind="diagram"] figcaption { flex-wrap: wrap; }

/* Technology directory: a visible example of each capability at the entry point. */
.v7-tech-directory {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 32px;
}
.v73-tech-card {
 display: flex;
 flex-direction: column;
 min-width: 0;
 overflow: hidden;
 color: var(--v7-ink, #26353c);
 background: #fff;
 border: 1px solid #d4dfe5;
 text-decoration: none;
 transition: border-color .2s ease, box-shadow .2s ease;
}
.v73-tech-card:hover {
 border-color: #6c9fbe;
 box-shadow: 0 12px 32px rgba(22, 58, 82, .08);
}
.v73-tech-card:focus-visible {
 outline: 3px solid #1772b4;
 outline-offset: 5px;
}
.v73-tech-card-media {
 min-width: 0;
 aspect-ratio: 3 / 2;
 background: #edf2f5;
 border-bottom: 1px solid #dce5ea;
}
.v73-tech-card-media img {
 display: block;
 width: 100%;
 height: 100%;
}
.v73-tech-card-copy {
 display: flex;
 flex: 1;
 flex-direction: column;
 align-items: flex-start;
 padding: 32px;
}
.v73-tech-card-copy h2 {
 margin: 0 0 16px;
 font-size: clamp(24px, 2.1vw, 32px);
 font-weight: 400;
 line-height: 1.4;
 letter-spacing: -.02em;
 text-wrap: balance;
}
.v73-tech-card-copy p {
 margin: 0 0 32px;
 color: #68757d;
 font-size: 17px;
 line-height: 1.8;
 text-wrap: pretty;
}
.v73-tech-card-action {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 24px;
 width: 100%;
 margin-top: auto;
 padding-top: 20px;
 border-top: 1px solid #dce5ea;
 color: #176595;
 font-size: 14px;
 line-height: 1.5;
}
.v73-tech-card:first-child {
 grid-column: 1 / -1;
 display: grid;
 grid-template-columns: 1.1fr 1fr;
}
.v73-tech-card:first-child .v73-tech-card-media {
 border-right: 1px solid #dce5ea;
 border-bottom: 0;
}
.v73-tech-card:first-child .v73-tech-card-copy {
 justify-content: center;
 padding: clamp(32px, 4vw, 64px);
}
.v73-tech-card:first-child .v73-tech-card-action { margin-top: 8px; }
@media (max-width: 900px) {
 .v7-tech-directory { gap: 24px; }
 .v73-tech-card-copy { padding: 24px; }
 .v73-tech-card:first-child .v73-tech-card-copy { padding: 24px; }
}
@media (max-width: 640px) {
 .v7-tech-directory { grid-template-columns: minmax(0, 1fr); }
 .v73-tech-card:first-child { display: flex; }
 .v73-tech-card:first-child .v73-tech-card-media {
  border-right: 0;
  border-bottom: 1px solid #dce5ea;
 }
 .v73-tech-card-copy h2 { font-size: 24px; }
 .v73-tech-card-copy p { font-size: 16px; margin-bottom: 24px; }
 .v73-tech-card:first-child .v73-tech-card-action { margin-top: auto; }
}
@media (prefers-reduced-motion: reduce) {
 .v73-tech-card { transition: none; }
}

/* Compact, subject-specific covers shared by article cards across the site. */
.vision-v7 .insight-card { padding-top: 0; }
.vision-v7 .insight-card .insight-image {
 display: block;
 position: relative;
 flex: none;
 width: 100%;
 height: 180px;
 margin-bottom: 0;
 overflow: hidden;
 background: #e8eef1;
}
.vision-v7 .insight-card .insight-image img {
 display: block;
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center;
}
.vision-v7 .insight-card .insight-image[data-image-fit="contain"] img {
 object-fit: contain;
 transform: none !important;
}
.article-thumb-kind {
 position: absolute;
 right: 8px;
 bottom: 8px;
 padding: 3px 7px;
 color: #fff;
 background: rgba(21, 45, 61, .76);
 font-size: 11px;
 line-height: 1.5;
 letter-spacing: .02em;
}
.vision-v7 .article-related .insight-card .insight-image { height: 140px; }
@media (max-width: 760px) {
 .vision-v7 .insight-card .insight-image { height: 160px; }
}

/* Shared article cards use the same text insets wherever they are rendered. */
.vision-v7 :not(.culture-story-grid) > .insight-card {
 --insight-inset: clamp(18px, 1.65vw, 28px);
 --type-h3: clamp(20px, 1.5vw, 23px);
}
.vision-v7 :not(.culture-story-grid) > .insight-card > .article-tag {
 margin: clamp(16px, 1.35vw, 22px) var(--insight-inset) 0;
 font-size: 13px;
 line-height: 1.5;
 letter-spacing: .035em;
}
.vision-v7 :not(.culture-story-grid) > .insight-card > h3 {
 margin: 9px var(--insight-inset) 0;
 line-height: 1.48;
 overflow-wrap: anywhere;
 text-wrap: balance;
}
.vision-v7 :not(.culture-story-grid) > .insight-card > .card-bottom {
 margin: auto var(--insight-inset) var(--insight-inset);
 padding-top: 18px;
}

/* Related cards must retain enough text width inside the article column. */
.vision-v7 .article-related .news-grid {
 grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

/* Give the text below practice images and portraits a consistent inset. */
.vision-v7 .v72-practice-copy {
 padding: 20px clamp(18px, 1.65vw, 28px) 0;
 gap: 14px;
}
.vision-v7 .lawyer-card-link {
 display: flex;
 flex-direction: column;
 height: 100%;
}
.vision-v7 .lawyer-card-copy {
 display: flex;
 flex: 1;
 flex-direction: column;
 padding: 20px clamp(18px, 1.65vw, 28px);
}
.vision-v7 .lawyer-card-copy h3 { margin: 0; }
.vision-v7 .lawyer-card-copy .lawyer-role { margin: 12px 0 0; }
.vision-v7 .lawyer-card-copy .lawyer-card-offices { margin: 8px 0 0; min-height: 0; }
.vision-v7 .lawyer-card-copy .lawyer-card-read { margin-top: auto; padding: 18px 0 0; }
