/* Client revision 11 October 2026: targeted enhancements. V66 button-edge recess preserved. */
/* Homepage: larger, fully visible client-supplied service photos, with whole office logo. */
#main .expertise-v7 .practice-editorial-card-v62 {min-height:426px;}
#main .expertise-v7 .practice-editorial-photo-v62 {
  width:76%;height:44%;background:rgba(248,244,232,.9);
  border-bottom-left-radius:54px;
}
html[dir="rtl"] #main .expertise-v7 .practice-editorial-photo-v62 {
  border-radius:0 0 54px 0;
}
#main .expertise-v7 .practice-editorial-photo-v62 img {
  object-fit:contain;object-position:center;
  filter:none!important;
}
#main .expertise-v7 .practice-editorial-photo-v62::after {background:none!important;}
#main .expertise-v7 .practice-editorial-copy-v62 {margin-top:131px;}
#main .expertise-v7 .practice-office-logo-v68 {
  display:block;position:absolute;top:9px;right:11px;z-index:5;
  width:65px;height:80px;object-fit:contain;object-position:center;
  padding:5px;border-radius:10px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(151,114,40,.18);
  box-shadow:0 3px 14px rgba(0,0,0,.07);
  pointer-events:none;
}
#main .expertise-v7 .practice-editorial-tone-3 .practice-office-logo-v68 {
  background:rgba(255,255,255,.97);
}
/* Do not change the bottom-edge notch or the CTA pill from V66. */
@media (max-width:1080px) {
  #main .expertise-v7 .practice-editorial-card-v62 {min-height:430px;}
  #main .expertise-v7 .practice-editorial-photo-v62 {width:74%;height:43%;}
  #main .expertise-v7 .practice-editorial-copy-v62 {margin-top:132px;}
}
@media (max-width:760px) {
  #main .expertise-v7 .practice-editorial-card-v62 {min-height:400px;}
  #main .expertise-v7 .practice-editorial-photo-v62 {width:75%;height:45%;border-bottom-left-radius:34px;}
  html[dir="rtl"] #main .expertise-v7 .practice-editorial-photo-v62 {border-radius:0 0 34px 0;}
  #main .expertise-v7 .practice-editorial-copy-v62 {margin-top:115px;}
  #main .expertise-v7 .practice-office-logo-v68 {width:49px;height:61px;right:7px;top:7px;padding:3px;}
}
@media(max-width:400px) {
  #main .expertise-v7 .practice-editorial-card-v62 {min-height:420px;}
  #main .expertise-v7 .practice-editorial-photo-v62 {height:41%;}
  #main .expertise-v7 .practice-editorial-copy-v62 {margin-top:114px;}
}

/* Homepage: remove only the numbered team count and center titles. */
#main .team-v29-card-copy p {text-align:center!important;line-height:1.48!important;max-width:100%!important;}
html[dir="rtl"] #main .team-v29-card-copy p {text-align:center!important;}

/* All practice-area photos should be wholly visible, without cropping. */
#main .practice-panel-v59 {grid-template-columns:minmax(290px,46%) minmax(0,1fr);align-items:start;}
#main .practice-photo-v59 {min-height:0;align-self:start;background:#f9f7f3;padding:12px;}
#main .practice-photo-v59 img {
  display:block;width:100%;height:auto;min-height:0;max-height:none;
  aspect-ratio:auto;object-fit:contain;object-position:center;border-radius:12px;
}
#main .practice-body-v59 h2 {margin-bottom:14px!important;}
#main .practice-body-v59 .practice-intro-v59 {margin:0 0 19px!important;}
@media(max-width:1000px){#main .practice-panel-v59{grid-template-columns:1fr;}}
@media(max-width:700px){#main .practice-photo-v59{padding:8px;}}

/* Team revised heading, legal team intro, and professional titles. */
#main .team-page-hero-v27 .team-page-title-grid-v27 {align-items:start;}
#main .team-page-hero-v27 .team-page-title-grid-v27 h1 {font-size:clamp(2rem,3.4vw,3.5rem)!important;line-height:1.22!important;}
html[dir="rtl"] #main .team-page-hero-v27 .team-page-title-grid-v27 h1 {font-size:clamp(1.8rem,3vw,3rem)!important;line-height:1.58!important;}
#main .team-page-intro-v27 p {max-width:76ch!important;line-height:1.85!important;}
#main .team-profile-founder-v68 {color:#765b2b!important;font-size:.94rem!important;font-weight:750!important;line-height:1.8!important;margin:8px 0 12px!important;}
#main .team-profile-subheading-v55 {font-size:.94rem!important;line-height:1.8!important;margin:9px 0!important;}
#main .team-profile-v27 .resume-panel-v27:not(.sabah-profile-action-v32) {justify-content:flex-start;}
#main .team-profile-v27 .resume-panel-actions-v27 {margin-inline-start:0;}
/* Give personnel headshots room; keep the PDF download actions rather than deleting them. */

/* Blog: tags precede article; no bulky tools explainer; compact functional actions. */
#main .legal-blog-index-v58 {padding-top:clamp(64px,7vw,90px);}
#main .legal-article-tags-v57 {margin-bottom:20px;}
#main .legal-article-actions-v57 {display:flex;justify-content:flex-start;align-items:center;padding:9px 0 22px!important;background:transparent!important;border:0!important;box-shadow:none!important;}
#main .legal-article-actions-buttons-v57 {margin:0;gap:10px;flex-wrap:wrap;}
#main .article-disclaimer {border-radius:14px;background:#faf6ec;border:1px solid #e9dec9;padding:22px 24px;margin-block:26px;}
#main .article-disclaimer strong {display:block;font-size:1.09rem;color:#6e5323;margin-bottom:8px;}
#main .article-disclaimer p {margin:0;line-height:1.9;}
@media(max-width:640px){#main .article-disclaimer{padding:18px;}}
