/* Approved V2 design. Scoped to the two requested Case Studies hub sections. */
body.page-id-299 .elementor-299 [data-id="case_hero"] > .elementor-container {
  max-width: 1160px !important;
  min-height: 420px !important;
  margin-inline: auto;
  align-items: stretch;
}
body.page-id-299 .elementor-299 [data-id="case_hero_left"] {
  width: 58% !important; flex: 0 0 58% !important; min-width: 0;
}
body.page-id-299 .elementor-299 [data-id="case_hero_left"] > .elementor-widget-wrap {
  max-width: none; min-height: 0 !important;
  margin: 0; padding: 48px 44px 48px 28px !important;
  display: flex; flex-direction: column; justify-content: center;
}
body.page-id-299 .elementor-299 [data-id="case_breadcrumb"] {
  position: static !important; margin: 0 0 20px !important;
  font-size: 13px !important; line-height: 1.5 !important; color: #818181;
}
body.page-id-299 .elementor-299 [data-id="case_h1"] { margin: 0 0 18px !important; }
body.page-id-299 .elementor-299 [data-id="case_h1"] h1 {
  max-width: 550px; margin: 0 !important; font-size: 40px !important;
  line-height: 1.18 !important; letter-spacing: -.025em !important;
}
body.page-id-299 .elementor-299 [data-id="case_hero_copy"] {
  max-width: 520px; margin: 0 !important;
  font-size: 16px !important; line-height: 1.7 !important;
}
body.page-id-299 .elementor-299 [data-id="case_hero_copy"] p { margin: 0 !important; font-size: inherit !important; line-height: inherit !important; }
body.page-id-299 .elementor-299 [data-id="case_hero_right"] {
  width: 42% !important; flex: 0 0 42% !important; min-width: 0;
}
body.page-id-299 .elementor-299 [data-id="case_hero_right"] > .elementor-widget-wrap {
  min-height: 0 !important; height: auto !important; padding: 40px 28px !important;
  display: flex; align-items: center; align-content: center; justify-content: center; background: #fff;
}
body.page-id-299 .elementor-299 [data-id="case_hero_image"],
body.page-id-299 .elementor-299 [data-id="case_hero_image"] > .elementor-widget-container {
  width: 100%; max-width: 350px; height: auto !important; min-height: 0 !important; margin: 0 auto !important;
}
body.page-id-299 .elementor-299 [data-id="case_hero_image"] img {
  display: block; width: 100% !important; max-width: 350px !important;
  height: 320px !important; min-height: 0 !important; max-height: none !important;
  object-fit: contain !important; object-position: center; margin: 0 auto;
}
body.page-id-299 .elementor-299 [data-id="case_collaboration"] { background: #fff !important; }
body.page-id-299 .elementor-299 [data-id="case_collaboration"] > .elementor-container {
  max-width: 1160px !important; min-height: 0 !important;
}
body.page-id-299 .elementor-299 [data-id="case_collaboration_col"] > .elementor-widget-wrap {
  padding: 38px 28px 40px !important;
}
body.page-id-299 .elementor-299 [data-id="case_collaboration_title"] {
  width: 100%; max-width: 900px; margin: 0 auto 12px !important; text-align: center !important;
}
body.page-id-299 .elementor-299 [data-id="case_collaboration_title"] h2 {
  margin: 0 !important; font-size: 28px !important;
  line-height: 1.3 !important; letter-spacing: -.02em !important;
}
body.page-id-299 .elementor-299 [data-id="case_collaboration_copy"] {
  width: 100%; max-width: 760px; margin: 0 auto !important;
  font-size: 16px !important; line-height: 1.7 !important; text-align: center !important;
}
@media (max-width: 900px) {
  body.page-id-299 .elementor-299 [data-id="case_hero_left"] > .elementor-widget-wrap { padding: 36px 24px !important; }
  body.page-id-299 .elementor-299 [data-id="case_h1"] h1 { font-size: 34px !important; }
  body.page-id-299 .elementor-299 [data-id="case_hero_right"] > .elementor-widget-wrap { padding: 28px 20px !important; }
  body.page-id-299 .elementor-299 [data-id="case_hero_image"] img { height: 280px !important; }
}
@media (max-width: 767px) {
  body.page-id-299 .elementor-299 [data-id="case_hero"] > .elementor-container { flex-direction: column; min-height: 0 !important; }
  body.page-id-299 .elementor-299 [data-id="case_hero_left"],
  body.page-id-299 .elementor-299 [data-id="case_hero_right"] { width: 100% !important; flex: 0 0 auto !important; }
  body.page-id-299 .elementor-299 [data-id="case_hero_left"] > .elementor-widget-wrap { padding: 32px 24px 28px !important; }
  body.page-id-299 .elementor-299 [data-id="case_breadcrumb"] { margin-bottom: 16px !important; }
  body.page-id-299 .elementor-299 [data-id="case_h1"] h1 { font-size: 30px !important; line-height: 1.2 !important; }
  body.page-id-299 .elementor-299 [data-id="case_hero_right"] > .elementor-widget-wrap { padding: 20px 24px 24px !important; }
  body.page-id-299 .elementor-299 [data-id="case_hero_image"] img { height: 220px !important; }
  body.page-id-299 .elementor-299 [data-id="case_collaboration_col"] > .elementor-widget-wrap { padding: 30px 24px 32px !important; }
  body.page-id-299 .elementor-299 [data-id="case_collaboration_title"] h2 { font-size: 23px !important; line-height: 1.35 !important; }
  body.page-id-299 .elementor-299 [data-id="case_collaboration_copy"] { font-size: 15px !important; line-height: 1.7 !important; }
}

/* Approved scene replacement beneath the collaboration introduction. */
body.page-id-299 .elementor-299 [data-id="case_scene"] {
  width: 100% !important; left: auto !important; margin: 0 !important; background: #fff;
}
body.page-id-299 .elementor-299 [data-id="case_scene"] > .elementor-container {
  max-width: 1160px !important; margin: 0 auto !important;
  padding: 0 28px 24px !important;
}
body.page-id-299 .elementor-299 [data-id="case_scene_col"] > .elementor-widget-wrap,
body.page-id-299 .elementor-299 [data-id="case_scene_image"],
body.page-id-299 .elementor-299 [data-id="case_scene_image"] > .elementor-widget-container {
  min-height: 0 !important; height: auto !important; padding: 0 !important; margin: 0 !important;
}
body.page-id-299 .elementor-299 [data-id="case_scene_image"] img {
  display: block; width: 100% !important; height: 360px !important; min-height: 0 !important;
  object-fit: cover !important; object-position: center top !important;
  border-radius: 6px;
}
body.page-id-299 .elementor-299 .mgf-scene-concept-caption {
  display: block; margin: 10px 0 0 !important; color: #777;
  font-size: 12px !important; line-height: 1.5 !important; text-align: left;
}
@media (max-width: 767px) {
  body.page-id-299 .elementor-299 [data-id="case_scene"] > .elementor-container { padding: 0 24px 20px !important; }
  body.page-id-299 .elementor-299 [data-id="case_scene_image"] img { height: auto !important; aspect-ratio: 16 / 9; object-fit: contain !important; }
}

/* Six case cards aligned to approved stories; 2026-09-16. */
body.page-id-299 .mgf-case-card{display:flex!important;flex-direction:column!important;min-width:0!important}
body.page-id-299 .mgf-case-card[hidden]{display:none!important}
body.page-id-299 .mgf-case-card__cover{display:block!important}
body.page-id-299 .mgf-case-card__image{display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:contain!important;background:#f4f5f5!important;border-radius:4px!important}
body.page-id-299 .mgf-case-card__identity{display:inline-block!important;align-self:flex-start!important;margin:16px 0 0!important;padding:4px 9px!important;border:1px solid #dfe3e5!important;border-radius:3px!important;background:#f4f5f5!important;color:#58616a!important;font-size:12px!important;font-weight:500!important;line-height:1.5!important}
body.page-id-299 .mgf-case-card__identity--delivered{color:#315b46!important;background:#edf5ef!important;border-color:#c7ddce!important}
body.page-id-299 .mgf-case-card__title{font-size:18px!important;font-weight:600!important;line-height:1.45!important;margin:14px 0 8px!important;color:#202a32!important}
body.page-id-299 .mgf-case-card__copy{font-size:14px!important;font-weight:400!important;line-height:1.7!important;margin:0 0 18px!important;color:#656c74!important}
body.page-id-299 .mgf-case-card__link{align-self:flex-start!important;margin-top:auto!important;font-size:14px!important;font-weight:500!important;line-height:1.5!important;padding:3px 0!important}
@media(max-width:767px){body.page-id-299 .mgf-case-card__title{font-size:17px!important}body.page-id-299 .mgf-case-grid{row-gap:32px!important}}
