/* Opt-in: Advisory, Assessoria and their service details. Approved heroes stay authored. */
.ux-standard.tmo-services{
  --services-gutter:var(--tmo-content-gutter,clamp(24px,4.6vw,72px));
  --services-section-space:var(--tmo-section-space,64px);
  --services-section-title:clamp(32px,3.1vw,44px);
  --services-card-title:clamp(24px,2.3vw,30px);
  --services-body-leading:1.65;
  --services-meta-leading:1.6;
  --services-action-leading:1.4;
  --services-accent:var(--ux-accent,#163445);
  --services-accent-hover:#0d2533;
  --ux-focus-ring:var(--services-accent);
}
.ux-standard.tmo-services.service-editorial{
  --services-accent:var(--sv-ink,#171b1c);
  --services-accent-hover:#3e4647;
}
.ux-standard.tmo-services.advisory-overview{
  --services-accent:#17191a;
  --services-accent-hover:#3e4647;
}
.ux-standard.tmo-services.logistics-page{
  --services-accent:var(--lg-ink,#102b38);
  --services-accent-hover:var(--lg-deep,#09212d);
}
.ux-standard.tmo-services.private-label-page{
  --services-accent:var(--pl-wine,#75233c);
  --services-accent-hover:var(--pl-deep,#4d182c);
}
html[lang="ar"] .tmo-services{
  --services-body-leading:1.85;
  --services-meta-leading:1.85;
  --services-action-leading:1.6;
}

/* One regular content gutter, without changing header offsets or hero photo stages. */
.ux-standard.tmo-services :is(.sv-main,.av-main,.lg-main,.pl-main){
  box-sizing:border-box;
  width:min(100%,1600px);
  max-width:1600px;
  margin-inline:auto;
}
.ux-standard.tmo-services :is(.sv-main,.av-main)>:not(.sv-hero):not(.av-hero):not(.ux-local-nav).sv-shell,
.ux-standard.tmo-services :is(.sv-main,.av-main)>:not(.sv-hero):not(.av-hero):not(.ux-local-nav).av-shell,
.ux-standard.tmo-services .av-main>:not(.av-hero)>.av-shell,
.ux-standard.tmo-services .tm-materials{
  box-sizing:border-box;
  padding-inline:var(--services-gutter);
}
.ux-standard.tmo-services :is(.lg-section,.lg-contact)>.lg-shell{
  box-sizing:border-box;
  width:100%;
  padding-inline:var(--services-gutter);
  margin-inline:auto;
}
.ux-standard.tmo-services .pl-main>:not(.pl-hero).pl-shell,
.ux-standard.tmo-services .pl-main>:not(.pl-hero)>.pl-shell{
  width:calc(100% - 2 * var(--services-gutter));
}
.ux-standard.tmo-services :is(.sv-main,.av-main,.lg-main,.pl-main) nav.ux-local-nav{
  box-sizing:border-box;
  width:min(100%,1600px);
  max-width:1600px;
  margin-inline:auto;
  padding-inline:0;
}
.ux-standard.tmo-services nav.ux-local-nav>.ux-nav-inner{
  box-sizing:border-box;
  width:100%;
  padding:0 var(--services-gutter);
  min-height:64px;
  justify-content:flex-start;
  gap:20px;
  overflow:visible;
}
.ux-standard.tmo-services .ux-local-nav .ux-nav-links a[aria-current],
.ux-standard.tmo-services .ux-local-nav .ux-nav-links a:hover{
  color:var(--services-accent);
  border-bottom-color:var(--services-accent);
}

/* A regular section owns vertical space once; inset feature copies remain separate. */
.ux-standard.tmo-services :is(.sv-section,.sv-contact,.av-decisions,.av-deliverables,.av-scope,.av-process,.av-export-bridge,.av-responsibilities,.av-contact,.lg-section,.lg-contact,.pl-space,.pl-contact,.tm-material-related){
  padding-block:var(--services-section-space);
}
.ux-standard.tmo-services .sv-work-copy,
.ux-standard.tmo-services .av-resource-copy{
  padding:var(--services-section-space) var(--services-gutter);
}
.ux-standard.tmo-services .av-responsibilities>div{padding:32px var(--services-gutter)}
.ux-standard.tmo-services :is(.av-related,.pl-related){padding-block:32px}
.ux-standard.tmo-services .pl-channels{padding-top:var(--services-section-space)}
.ux-standard.tmo-services .pl-dubai .pl-panel-copy{padding:48px}

/* H1s, hero lead copy and photography retain their authored hierarchy. */
.ux-standard.tmo-services :is(.sv-main,.av-main,.lg-main,.pl-main)>:not(.sv-hero):not(.av-hero):not(.lg-hero):not(.pl-hero) h2{
  font-family:inherit;
  font-size:var(--services-section-title);
  line-height:1.12;
  letter-spacing:-.04em;
}
.ux-standard.tmo-services :is(.sv-main,.av-main,.lg-main,.pl-main)>:not(.sv-hero):not(.av-hero):not(.lg-hero):not(.pl-hero) h3{
  font-family:inherit;
  font-size:var(--services-card-title);
  line-height:1.2;
  letter-spacing:-.03em;
}
.ux-standard.tmo-services :is(.sv-main,.av-main,.lg-main,.pl-main)>:not(.sv-hero):not(.av-hero):not(.lg-hero):not(.pl-hero) p:not(.sv-kicker):not(.sv-document-note):not(.sv-service-inputs):not(.av-eyebrow):not(.av-caption):not(.lg-eyebrow):not(.lg-note):not(.lg-image-note):not(.lg-sheet p):not(.pl-eyebrow):not(.pl-note):not(.pl-sheet p):not(.tm-material-kicker):not(.tm-material-meta):not(.tm-material-name){
  font-family:inherit;
  font-size:16px;
  line-height:var(--services-body-leading);
}
.ux-standard.tmo-services :is(.sv-heading,.lg-heading-grid,.pl-section-heading){margin-bottom:32px}
.ux-standard.tmo-services :is(.sv-main,.av-main,.lg-main,.pl-main)>:not(.sv-hero):not(.av-hero):not(.lg-hero):not(.pl-hero) :is(.sv-kicker,.sv-index,.av-question-label,.lg-eyebrow,.lg-note,.lg-image-note,.pl-eyebrow,.pl-note,figcaption){
  font-family:inherit;
  font-size:12px;
  line-height:var(--services-meta-leading);
}
.ux-standard.tmo-services :is(.av-eyebrow,.av-caption,.sv-document-note,.sv-service-inputs,.tm-material-kicker){
  font-size:12px!important;
  line-height:var(--services-meta-leading)!important;
}
.ux-standard.tmo-services .av-hero .av-eyebrow{
  font-size:10px!important;
  line-height:1.5!important;
}
.ux-standard.tmo-services .av-main .av-document-summary{
  font-size:16px!important;
  line-height:var(--services-body-leading);
}
.ux-standard.tmo-services :is(.sv-document li,.sv-steps p,.av-document dd,.lg-document-copy li,.pl-document-copy dd){
  font-family:inherit;
  font-size:16px;
  line-height:var(--services-body-leading);
}
.ux-standard.tmo-services .av-document dt,
.ux-standard.tmo-services .pl-document-copy dt{font-family:inherit;font-size:20px;line-height:1.35}
.ux-standard.tmo-services :is(.sv-main,.av-main,.lg-main,.pl-main) :is(a,button,select,summary,table,dl,figcaption),
.ux-standard.tmo-services .tm-materials{font-family:inherit}
.ux-standard.tmo-services .tm-material-meta{font-size:12px;line-height:var(--services-meta-leading)}

/* Tabs remain tabs; their panels, state management and source hide rules are untouched. */
.ux-standard.tmo-services :is(.sv-document-tabs button,.av-tabs button,.lg-tabs button,.pl-tabs button){
  font-family:inherit;
  min-height:48px;
  line-height:var(--services-action-leading);
  text-align:start;
}
.ux-standard.tmo-services :is(.av-tabs button,.lg-tabs button,.pl-tabs button){font-size:14px}
.ux-standard.tmo-services .sv-document-tabs button{font-size:22px}
.ux-standard.tmo-services .sv-document-tabs small{font-size:14px;line-height:var(--services-body-leading)}
.ux-standard.tmo-services :is(.sv-document-tabs button,.av-tabs button,.lg-tabs button,.pl-tabs button):focus-visible{
  outline:2px solid var(--ux-focus-ring,var(--services-accent));
  outline-offset:4px;
}

/* Mockup text uses a readable compact scale distinct from the page's editorial body. */
.ux-standard.tmo-services :is(.lg-sheet,.pl-sheet){font-family:inherit}
.ux-standard.tmo-services :is(.lg-sheet-top,.lg-sheet-bottom,.lg-sheet .lg-sheet-type,.lg-sheet .lg-sheet-caption,.lg-flow span,.lg-flow p,.lg-flow small,.lg-agenda dt,.lg-agenda-marker span,.pl-sheet-top,.pl-sheet-bottom,.pl-sheet .pl-sheet-type,.pl-sheet .pl-sheet-caption,.pl-dossier li span,.pl-record span){
  font-family:inherit;
  font-size:12px;
  line-height:var(--services-meta-leading);
}
.ux-standard.tmo-services :is(.lg-flow strong,.lg-flow h4,.lg-agenda-marker h4,.lg-agenda dd,.pl-sheet dt,.pl-sheet dd,.pl-dossier li,.pl-record strong){
  font-family:inherit;
  font-size:14px;
  line-height:var(--services-body-leading);
}
.ux-standard.tmo-services :is(.lg-matrix,.pl-sheet table,.lg-matrix th,.lg-matrix td,.pl-sheet th,.pl-sheet td){
  font-family:inherit;
  text-align:start;
  font-size:14px;
  line-height:var(--services-body-leading);
}
.ux-standard.tmo-services :is(.lg-matrix thead th,.pl-sheet thead th){
  font-size:12px;
  line-height:var(--services-meta-leading);
}
.ux-standard.tmo-services .pl-sheet :is(th,td){padding-inline:0 8px}
.ux-standard.tmo-services .lg-matrix tbody th{padding-inline-start:0}
.ux-standard.tmo-services .lg-document-copy ul{padding-inline:18px 0}

/* One action contract with each source family's established color. */
.ux-standard.tmo-services .tmo-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:var(--tmo-action-height,48px);
  max-width:100%;
  min-width:0;
  padding:var(--tmo-action-padding,12px 20px);
  border:1px solid var(--tmo-action-border,var(--services-accent));
  border-radius:var(--tmo-action-radius,4px);
  background:var(--tmo-action-background,var(--services-accent));
  color:var(--tmo-action-color,#fff);
  font-family:inherit;
  font-size:14px;
  font-weight:500;
  line-height:var(--services-action-leading);
  letter-spacing:0;
  text-align:center;
  text-decoration:none;
  overflow-wrap:anywhere;
  filter:none;
}
.ux-standard.tmo-services .tmo-action:hover{
  background:var(--tmo-action-hover-background,var(--services-accent-hover));
  border-color:var(--tmo-action-hover-border,var(--services-accent-hover));
  color:var(--tmo-action-hover-color,#fff);
  text-decoration:none;
  filter:none;
}
.ux-standard.tmo-services .tmo-action.tmo-action--secondary{
  background:transparent;
  border-color:var(--tmo-action-secondary-border,#aebbc3);
  color:var(--tmo-action-secondary-color,var(--services-accent));
}
.ux-standard.tmo-services .tmo-action.tmo-action--secondary:hover{
  background:var(--tmo-action-secondary-hover-background,#eef2f4);
  border-color:var(--tmo-action-secondary-hover-border,#aebbc3);
  color:var(--tmo-action-secondary-hover-color,var(--services-accent));
}
.ux-standard.tmo-services .tmo-action.tmo-action--text{
  min-height:44px;
  padding:8px 0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--tmo-action-secondary-color,var(--services-accent));
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:5px;
}
.ux-standard.tmo-services .tmo-action.tmo-action--text:hover{
  background:transparent;
  color:var(--tmo-action-secondary-hover-color,var(--services-accent));
  text-decoration:underline;
  text-decoration-thickness:2px;
}
.ux-standard.tmo-services .tmo-action:focus-visible{
  outline:2px solid var(--ux-focus-ring,var(--services-accent));
  outline-offset:4px;
}
.tmo-services .tmo-action[data-pdf-edition-explicit]::after{content:none}

/* Inverse surfaces are source-defined; light sheet previews reset their focus token. */
.ux-standard.tmo-services :is(.sv-contact,.av-hero,.av-scope,.av-contact,.lg-hero,.lg-deliverables,.lg-contact,.pl-products,.pl-dubai){
  --ux-focus-ring:#e6f0f5;
  --tmo-action-background:#fff;
  --tmo-action-border:#fff;
  --tmo-action-color:var(--services-accent);
  --tmo-action-hover-background:#e6edf1;
  --tmo-action-hover-border:#e6edf1;
  --tmo-action-hover-color:var(--services-accent);
  --tmo-action-secondary-border:#fff;
  --tmo-action-secondary-color:#fff;
  --tmo-action-secondary-hover-background:rgb(255 255 255 / .12);
  --tmo-action-secondary-hover-border:#fff;
  --tmo-action-secondary-hover-color:#fff;
}
.ux-standard.tmo-services :is(.lg-preview,.pl-work-preview,.sv-document){--ux-focus-ring:var(--services-accent)}
.ux-standard.tmo-services.private-label-page :is(.tmo-action--secondary){--tmo-action-secondary-border:var(--pl-rule,#d9bbc3)}
.ux-standard.tmo-services .pl-products .tmo-action--secondary,
.ux-standard.tmo-services .pl-dubai .tmo-action--secondary{--tmo-action-secondary-border:var(--pl-blush,#f4dfe2)}

@media(max-width:760px){
  .ux-standard.tmo-services{
    --services-section-space:var(--tmo-section-space,48px);
    --services-section-title:32px;
    --services-card-title:26px;
  }
  .ux-standard.tmo-services .sv-document-tabs button{font-size:21px}
  .ux-standard.tmo-services .pl-dubai .pl-panel-copy{padding:36px 24px}
}
@media(max-width:520px){
  .ux-standard.tmo-services .pl-hero-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr);
  }
  .ux-standard.tmo-services .pl-hero-actions .tmo-action{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .ux-standard.tmo-services .tmo-action{transition:none}
}
