/* V71: production-QA-oriented refinements; retain all approved V70 structures. */
/* Blog cover old photograph: show entire image at natural proportions without cover-cropping. */
#main .legal-blog-feature-media-v58 {
  display:flex;align-items:center;justify-content:center;min-width:0;background:#ebe4d7;
}
#main .legal-blog-feature-media-v58 img {
  width:100%!important;height:auto!important;min-height:0!important;max-height:640px;
  object-fit:contain!important;object-position:center!important;
}
/* The interior photograph is independent of the blog cover and is never cropped. */
#main .article-main .article-featured-media:not(.video-featured) {
  display:flex;align-items:center;justify-content:center;max-width:100%;
  background:#f0ebe2;
}
#main .article-main .article-featured-media:not(.video-featured) img {
  max-height:none!important;width:100%!important;height:auto!important;object-fit:contain!important;
}
/* Place the second practice photo in the available column; use a readable stack on phones. */
@media (min-width:761px) and (max-width:1120px) {
  #main .practice-intro-with-photo-v70 {grid-template-columns:minmax(0,1.06fr) minmax(170px,.94fr)!important;}
}
#main .practice-extra-photo-v70 img {height:auto!important;width:100%!important;object-fit:contain!important;}
/* Wider resume actions, no squeezed Arabic text, accessible focus target. */
#main .resume-panel-v70 .resume-panel-actions-v27 a {min-width:0;overflow-wrap:anywhere;}
#main .resume-panel-v70 .resume-panel-actions-v27 a:focus-visible,
#main .legal-blog-feature-media-v58:focus-visible,
#main .contact-success-close-v61:focus-visible {outline:3px solid #c49d45;outline-offset:3px;}
@media (max-width:760px) {
  #main .practice-intro-with-photo-v70 {grid-template-columns:minmax(0,1fr)!important;}
  #main .practice-extra-photo-v70 {width:100%;max-width:100%!important;}
  #main .legal-blog-feature-media-v58 {min-height:0!important;}
  #main .legal-blog-feature-media-v58 img {max-height:none!important;}
  #main .team-profile-v27 .resume-panel-v70 {overflow:hidden;}
  #main .team-profile-v27 .resume-panel-v70 .resume-panel-actions-v27 a {min-height:60px!important;}
  #main .contact-layout-v5,.contact-layout-v5>*,#main .form-panel-v5,#main .office-panel-v5 {min-width:0;}
  #main .contact-success-v61 {max-width:100%;overflow-wrap:anywhere;}
}
@media (max-width:420px) {
  #main .team-profile-v27 .resume-panel-v70 {grid-template-columns:48px minmax(0,1fr)!important;}
  #main .team-profile-v27 .resume-panel-v70 .resume-panel-actions-v27 a {padding:10px 9px!important;}
  #main .legal-blog-feature-content-v58 {min-width:0;overflow-wrap:anywhere;}
}
@media (prefers-reduced-motion:reduce) {
  #main .practice-editorial-card-v62,#main .article-featured-media img {transition:none!important;}
}
