.mhg-profile-v3-page {
  --profile-ink: #19271f;
  --profile-muted: #526158;
  --profile-deep: #081a12;
  --profile-line: #dce4df;
}

.mhg-profile-v3-page .mhg-cinematic--profile-v3 {
  min-height: 590px;
  padding: 90px 0;
  background: linear-gradient(90deg, rgba(3, 13, 8, .96), rgba(3, 13, 8, .78) 35%, rgba(3, 13, 8, .12) 80%), var(--mhg-hero-image) var(--mhg-hero-position) / cover;
}
.mhg-profile-v3-page .mhg-cinematic--profile-v3::before,
.mhg-profile-v3-page .mhg-cinematic--profile-v3::after { display: none; }
.mhg-profile-v3-page .mhg-cinematic--profile-v3 .mhg-cinematic__inner { display: block; }
.mhg-profile-v3-page .mhg-cinematic--profile-v3 h1 { max-width: 660px; font-size: 76px; line-height: 1.05; letter-spacing: 0; text-wrap: balance; }
.mhg-profile-v3-page .mhg-cinematic--profile-v3 .mhg-cinematic__copy { max-width: 530px; font-size: 20px; line-height: 1.6; color: #f2f5f3; }
.mhg-profile-v3-page .mhg-cinematic--profile-v3 .mhg-kicker { color: #89e581; letter-spacing: 0; }
.mhg-profile-v3-page [id] { scroll-margin-top: 120px; }
.mhg-profile-v3-page .mhg-profile-section { padding: 88px 0; }
.mhg-profile-v3-page .mhg-profile-section h2 { margin: 0; max-width: 800px; font-size: 44px; line-height: 1.15; letter-spacing: 0; text-wrap: balance; color: var(--profile-ink); }
.mhg-profile-v3-page .mhg-profile-section h3 { margin: 24px 0 12px; font-size: 26px; line-height: 1.25; letter-spacing: 0; color: inherit; }
.mhg-profile-v3-page .mhg-profile-section p { font-size: 18px; line-height: 1.65; letter-spacing: 0; color: var(--profile-muted); }
.mhg-profile-v3-page .mhg-profile-section .mhg-kicker { font-size: 13px; line-height: 1.5; margin: 0 0 16px; color: #26742b; letter-spacing: 0; }
.mhg-profile-heading { margin-bottom: 40px; }
.mhg-profile-heading > p:last-child { max-width: 690px; margin: 22px 0 0; }
.mhg-profile-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; font-weight: 700; color: #26742b; text-underline-offset: 5px; }
.mhg-profile-link:hover { text-decoration: underline; }
.mhg-profile-facts { background: #fff; color: var(--profile-ink); border-bottom: 1px solid var(--profile-line); }
.mhg-profile-facts > .mhg-shell { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mhg-profile-facts .mhg-shell > div { padding: 30px 24px; border-left: 1px solid var(--profile-line); }
.mhg-profile-facts .mhg-shell > div:first-child { padding-left: 0; border: 0; }
.mhg-profile-facts strong { display: block; font-size: 24px; line-height: 1.3; }
.mhg-profile-facts span { display: block; margin-top: 8px; color: var(--profile-muted); font-size: 14px; line-height: 1.5; }
.mhg-profile-intro { background: #f3f7f4; }
.mhg-profile-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.mhg-profile-copy > p { margin: 22px 0; }
.mhg-profile-photo { margin: 0; }
.mhg-profile-photo img { display: block; width: 100%; height: auto; }
.mhg-profile-photo figcaption { padding-top: 12px; font-size: 13px; line-height: 1.5; color: var(--profile-muted); }
.mhg-profile-range { background: #fff; color: var(--profile-ink); }
.mhg-profile-range__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-bottom: 44px; }
.mhg-profile-range__item { display: flex; flex-direction: column; min-width: 0; }
.mhg-profile-range__item p { margin: 0 0 12px; }
.mhg-profile-range__item > .mhg-profile-link { margin-top: auto; }
.mhg-profile-range__media { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #eef2ef; }
.mhg-profile-range__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mhg-profile-range .mhg-logo-wall { margin-top: 40px; }
.mhg-profile-activity { background: var(--profile-deep); color: #fff; }
.mhg-profile-v3-page .mhg-profile-activity h2 { color: #fff; }
.mhg-profile-v3-page .mhg-profile-activity p { color: #d2ddd6; }
.mhg-profile-v3-page .mhg-profile-activity .mhg-kicker,
.mhg-profile-activity .mhg-profile-link { color: #89e581; }
.mhg-profile-activity__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.mhg-profile-activity__item { display: flex; flex-direction: column; min-width: 0; }
.mhg-profile-activity__item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #10281b; }
.mhg-profile-activity__item p { margin: 0 0 12px; }
.mhg-profile-activity__item > .mhg-profile-link { margin-top: auto; }
.mhg-profile-service-note { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #41574a; }
.mhg-profile-service-note p { max-width: 700px; margin: 0; font-size: 15px !important; }
.mhg-profile-service-note a { flex-shrink: 0; }
.mhg-profile-people { background: #fff; color: var(--profile-ink); }
.mhg-profile-people__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0 0 28px; }
.mhg-profile-person { display: flex; flex-direction: column; align-items: flex-start; color: inherit; text-decoration: none; min-width: 0; }
.mhg-profile-person img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; margin-bottom: 22px; }
.mhg-profile-person strong { font-size: 18px; line-height: 1.5; }
.mhg-profile-person span { margin-top: 5px; font-size: 15px; line-height: 1.5; color: var(--profile-muted); }
.mhg-profile-person:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.mhg-profile-contact { background: #eef4ef; color: var(--profile-ink); }
.mhg-profile-details { margin: 30px 0; }
.mhg-profile-details > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid #ccd8cf; }
.mhg-profile-details dt { font-size: 14px; line-height: 1.6; color: var(--profile-muted); }
.mhg-profile-details dd { margin: 0; font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; }
.mhg-profile-details a { color: #26742b; text-decoration: underline; text-underline-offset: 3px; }
.mhg-profile-v3-page:lang(th) .mhg-profile-section h2 { font-size: 40px; line-height: 1.35; }
.mhg-profile-v3-page:lang(th) .mhg-profile-section h3 { line-height: 1.45; }
.mhg-profile-v3-page a:focus-visible { outline: 3px solid #cfb600; outline-offset: 5px; }

@media (max-width: 1100px) {
  .mhg-profile-v3-page .mhg-cinematic--profile-v3 { min-height: 550px; padding: 72px 0; }
  .mhg-profile-v3-page .mhg-cinematic--profile-v3 h1 { font-size: 60px; max-width: 520px; }
  .mhg-profile-v3-page .mhg-profile-section { padding: 64px 0; }
  .mhg-profile-v3-page .mhg-profile-section h2 { font-size: 38px; }
  .mhg-profile-split { gap: 36px; }
  .mhg-profile-range__grid, .mhg-profile-activity__grid { gap: 22px; }
  .mhg-profile-person strong { font-size: 16px; }
  .mhg-profile-facts strong { font-size: 21px; }
}
@media (max-width: 850px) {
  .mhg-profile-split { grid-template-columns: 1fr; }
  .mhg-profile-photo { max-width: 680px; width: 100%; }
  .mhg-profile-facts > .mhg-shell { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mhg-profile-facts .mhg-shell > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .mhg-profile-range__grid, .mhg-profile-activity__grid { grid-template-columns: 1fr; gap: 40px; }
  .mhg-profile-range__media { max-height: 420px; }
  .mhg-profile-activity__item img { max-height: 490px; }
  .mhg-profile-people__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .mhg-profile-person strong { font-size: 18px; }
  .mhg-profile-service-note { display: block; }
  .mhg-profile-service-note a { margin-top: 16px; }
  .mhg-profile-contact .mhg-profile-copy { grid-row: 1; }
}
@media (max-width: 600px) {
  .mhg-profile-v3-page .mhg-cinematic--profile-v3 { min-height: 580px; padding: 64px 0; background-position: center, 63% center; background-image: linear-gradient(90deg, rgba(3, 13, 8, .86), rgba(3, 13, 8, .67)), var(--mhg-hero-image); }
  .mhg-profile-v3-page .mhg-cinematic--profile-v3 h1 { font-size: 46px; max-width: 350px; }
  .mhg-profile-v3-page .mhg-cinematic--profile-v3 .mhg-cinematic__copy { font-size: 18px; }
  .mhg-profile-v3-page .mhg-profile-section { padding: 56px 0; }
  .mhg-profile-v3-page .mhg-profile-section h2, .mhg-profile-v3-page:lang(th) .mhg-profile-section h2 { font-size: 32px; }
  .mhg-profile-v3-page .mhg-profile-section h3 { font-size: 24px; }
  .mhg-profile-v3-page .mhg-profile-section p { font-size: 17px; }
  .mhg-profile-facts .mhg-shell > div { padding: 22px 12px; }
  .mhg-profile-facts strong { font-size: 18px; }
  .mhg-profile-facts span { font-size: 13px; }
  .mhg-profile-person img { width: 104px; height: 104px; }
  .mhg-profile-person strong { font-size: 16px; min-height: 48px; }
  .mhg-profile-person span { font-size: 14px; }
  .mhg-profile-details > div { grid-template-columns: 70px minmax(0, 1fr); gap: 14px; }
  .mhg-profile-details dd { font-size: 16px; }
}
