/* Shared project template: opening row is independent of the full-width story. */
body.single-rujia_project .rjel-project-layout { padding-block:56px 65px; }
body.single-rujia_project .rjel-project-opening {
  display:grid; grid-template-columns:240px minmax(0,640px);
  gap:64px; max-width:944px; margin-inline:auto; align-items:start;
}
body.single-rujia_project .rjel-project-opening .project-facts { margin:0!important; }
body.single-rujia_project .rjel-project-opening .project-facts h2 { margin-top:0; }
body.single-rujia_project .rjel-project-opening .project-facts dl { display:block!important; }
body.single-rujia_project .rjel-project-intro { min-width:0; font-size:20px; line-height:1.85; }
body.single-rujia_project .rjel-project-intro .rjel-text {
  margin:0!important; max-width:none; font-size:inherit; line-height:inherit;
}
body.single-rujia_project .rjel-project-intro p { font-size:inherit; line-height:inherit; margin:0 0 24px; }
body.single-rujia_project .rjel-project-intro p:last-child { margin-bottom:0; }
body.single-rujia_project .rjel-project-divider {
  display:block; width:100%; max-width:944px; height:0;
  border:0; border-top:1px solid #bcbcb6; margin:48px auto;
}
body.single-rujia_project .rjel-project-layout .rjel-project-body {
  display:block!important; width:100%; max-width:none!important; min-width:0;
}
body.single-rujia_project .rjel-project-body > .wp-block-gallery {
  width:100%!important; max-width:none!important; margin-inline:0!important;
}
/* Neutralise older first-paragraph-only CSS without altering image sizing rules. */
body.single-rujia_project .rjel-project-body > .rjel-text {
  width:auto!important; max-width:700px!important; margin:52px auto!important;
  padding:0; font-size:17px!important; line-height:1.9!important;
}
@media(max-width:1000px) {
  body.single-rujia_project .rjel-project-opening { grid-template-columns:200px minmax(0,1fr); gap:36px; }
  body.single-rujia_project .rjel-project-intro { font-size:18px; line-height:1.8; }
}
@media(max-width:760px) {
  body.single-rujia_project .rjel-project-layout { padding-block:32px 40px; }
  body.single-rujia_project .rjel-project-opening { grid-template-columns:minmax(0,1fr); gap:32px; }
  body.single-rujia_project .rjel-project-divider { margin-block:32px; }
  body.single-rujia_project .rjel-project-body > .rjel-text { font-size:15px!important; line-height:1.85!important; margin-block:32px!important; }
}
