.trainer-section { margin-top: var(--section-gap); padding-top: var(--section-gap); border-top: 1px solid var(--line); }
.trainer-shell { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 36px 32px; align-items: start; }
.trainer-photo-card { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface-soft); border: 1px solid var(--line); }
.trainer-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.trainer-copy { min-width: 0; }
.trainer-title { margin: 0 0 20px; font-size: 32px; line-height: 1.1; }
.trainer-text { display: grid; gap: 14px; }
.trainer-text p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-soft); }
.trainer-artifacts { grid-column: 1 / -1; display: grid; gap: 36px; min-width: 0; }
.trainer-credentials { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .72fr); gap: 28px; align-items: start; }
.trainer-credentials__title { grid-column: 1 / -1; margin: 0; font-size: 25px; line-height: 1.25; font-weight: 650; color: var(--text); }
.trainer-artifact { margin: 0; min-width: 0; }
.trainer-artifact img { width: 100%; height: 170px; object-fit: contain; object-position: center top; }
.trainer-artifact figcaption { margin-top: 14px; color: var(--text-soft); font-size: 14px; line-height: 1.5; text-align: center; }
.trainer-artifact--books { max-width: 210px; justify-self: end; }
.trainer-halls { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 28px; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); }
.trainer-halls__kicker { margin: 0 0 12px; font-size: 13px; color: var(--accent-ink); }
.trainer-halls__statement { margin: 0; font-size: 25px; line-height: 1.25; font-weight: 650; }
.trainer-halls__mosaic { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-rows: 142px 102px 102px; gap: 7px; min-width: 0; }
.trainer-hall-frame { overflow: hidden; min-width: 0; border-radius: 4px; background: var(--surface-soft); }
.trainer-hall-frame img { width: 100%; height: 100%; object-fit: cover; }
.trainer-hall-frame--main { grid-column: 1 / -1; grid-row: 1; }
.trainer-hall-frame--wide { grid-column: 1; grid-row: 2 / span 2; }
.trainer-hall-frame--audience { grid-column: 2; grid-row: 2; }
.trainer-hall-frame--vip { grid-column: 2; grid-row: 3; }
.trainer-hall-frame--main img { object-position: 52% 0%; }
.trainer-hall-frame--audience img { object-position: 50% 40%; }
.trainer-hall-frame--vip img { object-position: 58% 40%; }
.trainer-hall-frame--workshop img { object-position: 42% 36%; }
@media (max-width: 600px) {
  .trainer-shell { grid-template-columns: 1fr; gap: 26px; }
  .trainer-photo-card { width: min(100%, 360px); }
  .trainer-title { font-size: 30px; }
  .trainer-credentials { grid-template-columns: 1fr; gap: 26px; }
  .trainer-artifact img { height: auto; }
  .trainer-artifact--books { width: min(60%, 210px); justify-self: center; }
  .trainer-halls { grid-template-columns: 1fr; gap: 20px; }
  .trainer-halls__statement { max-width: 360px; }
  .trainer-halls__mosaic { grid-template-rows: 150px 112px 112px; }
}

.trainer-section { margin-top: 0; padding-top: 0; border-top: 0; }
.article-inner { padding-bottom: 40px; }

/* Open page layout and the yellow line used throughout the blog. */
:root { --measure: 820px; --page-bg: #fff; --page-bg-top: #fff; }
body { background: #fff; border-top: 6px solid var(--accent); }
.page { padding: 0; min-height: 0; }
.article-shell { width: min(100%, calc(var(--measure) + var(--gutter) * 2)); }
.article-card { overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
.article-inner { padding: 40px var(--gutter) 0; }
.blog-strip { display: flex; flex-wrap: wrap; align-items: center; max-width: 100%; gap: 8px 12px; margin-top: 24px; padding: 12px 16px; border-left-width: 6px; background: var(--surface-warm); }
.blog-strip__label, .blog-strip__join { color: var(--text); font-family: inherit; font-size: 18px; line-height: 1.4; font-weight: 500; }
.blog-strip__label { margin: 0; }
.blog-strip__links { display: flex; align-items: center; flex: 0 0 auto; gap: 4px; }
.blog-strip a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 2px 4px rgba(20, 20, 20, .08); text-decoration: none; }
.blog-strip a:hover { border-color: var(--line-strong); background: var(--accent-soft); }
.blog-strip a svg { width: 32px; height: 32px; flex: 0 0 32px; }
.reviews-section { margin-top: 32px; }
.reviews-bar { flex-wrap: wrap; }
.reviews-bar h2 { font-size: 25px; line-height: 1.25; font-weight: 650; white-space: normal; }
.trainer-artifacts, #training-halls { margin-top: var(--section-gap); }
.article-footer { margin-top: var(--section-gap); }
@media (max-width: 600px) {
  .article-inner { padding-top: 26px; }
  .trainer-credentials__title, .reviews-bar h2 { font-size: 22px; }
}

.article-card > .article-inner > .article-brand { position: static; align-items: center; margin: 0 0 20px; color: var(--text); text-shadow: none; }
