/* Homepage V3 Phase R - responsive translation of the locked X.3 desktop master. */

/* Compact tablet / narrow desktop: first structural translation. */
@media (max-width:1180px){
  .aw-v3-theme,.aw-v3-home{overflow-x:visible}
  .aw-v3-header .aw-v3-nav-shell{display:none;height:100dvh;max-height:100dvh;flex-wrap:nowrap;overflow-y:auto;transform:none}
  .aw-v3-header.is-open .aw-v3-nav-shell{display:flex;transform:none}
  .aw-v3-header .drawer-close{display:inline-flex}
  .aw-v3-capabilities{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}
  .aw-v3-capability-grid{width:max-content;min-width:100%;grid-template-columns:repeat(7,minmax(150px,1fr));min-height:108px}
  .aw-v3-capability-grid>a{min-height:76px;border-top:0;padding:17px 14px;scroll-snap-align:start}
  .aw-v3-master-row-a,.aw-v3-master-row-b{height:auto;grid-template-columns:repeat(2,minmax(0,1fr))}
  .aw-v3-master-row-a .aw-v3-master-module{height:640px}
  .aw-v3-master-row-b .aw-v3-master-module{height:540px}
  .aw-v3-master-industry,.aw-v3-master-knowledge,.aw-v3-master-data,.aw-v3-master-company{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 270px;min-height:0}
  .aw-v3-master-row-b .aw-v3-master-module{grid-template-rows:minmax(0,1fr) 230px}
  .aw-v3-master-copy{min-height:0;padding:34px}
  .aw-v3-master-module h3{font-size:clamp(24px,2.6vw,29px);line-height:1.4}
  .aw-v3-master-image,.aw-v3-data-system{min-height:0}
  .aw-v3-master-industry .aw-v3-master-image img{object-position:53% 56%}
  .aw-v3-master-knowledge .aw-v3-master-image img{object-position:62% 54%}
  .aw-v3-master-company .aw-v3-master-image img{object-position:54% 56%}
  .aw-v3-master-applications{height:486px;grid-template-columns:minmax(240px,28fr) minmax(0,72fr)}
  .aw-v3-master-applications>header{padding:36px 32px}
  .aw-v3-master-app-strip{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:7px;padding:14px 0 14px 8px}
  .aw-v3-master-app-strip>a{grid-template-rows:minmax(0,1fr) 48px}
  .aw-v3-master-app-strip strong{font-size:12px}
  .aw-v3-master-premium{height:280px}
  .aw-v3-master-premium-media img{object-position:60% 50%}
  .aw-v3-master-footer-inner{gap:34px}
}

/* Keep the tablet drawer below the fixed WordPress toolbar for signed-in reviewers. */
@media (min-width:783px) and (max-width:1180px){
  body.admin-bar .aw-v3-header .aw-v3-nav-shell{height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}
}

/* English editorial headlines need one more composed line at desktop/tablet widths. */
@media (min-width:901px) and (max-width:1500px){
  html[lang="en"] .aw-v3-master-industry h3,
  html[lang="en"] .aw-v3-master-knowledge h3,
  html[lang="en"] .aw-v3-master-company h3{-webkit-line-clamp:3}
}

@media (min-width:1181px) and (max-width:1500px){
  html[lang="en"] .aw-v3-master-industry{grid-template-columns:minmax(0,50fr) minmax(0,50fr)}
  html[lang="en"] .aw-v3-master-industry .aw-v3-master-copy{padding-inline:32px}
  html[lang="en"] .aw-v3-master-industry h3{font-size:25.4px;line-height:1.34}
}

/* Tablet portrait: open editorial reflow, not a card stack. */
@media (max-width:900px){
  .aw-v3-master-body{padding-top:18px}
  .aw-v3-master-row-a,.aw-v3-master-row-b{grid-template-columns:1fr;gap:18px}
  .aw-v3-master-row-b{margin-top:18px}
  .aw-v3-master-row-a .aw-v3-master-module,.aw-v3-master-row-b .aw-v3-master-module{height:auto;min-height:0}
  .aw-v3-master-industry,.aw-v3-master-knowledge,.aw-v3-master-data,.aw-v3-master-company{display:grid;grid-template-columns:1fr;grid-template-rows:auto 340px}
  .aw-v3-master-module{border-top:1px solid var(--aw-master-rule);border-bottom:1px solid var(--aw-master-rule);border-radius:0;box-shadow:none}
  .aw-v3-master-copy{padding:clamp(38px,6vw,54px)}
  .aw-v3-master-module h3{max-width:610px;font-size:clamp(27px,4vw,34px)}
  .aw-v3-master-dek{max-width:560px;font-size:14px;line-height:1.85}
  .aw-v3-master-image,.aw-v3-data-system{height:auto;min-height:0}
  .aw-v3-master-industry .aw-v3-master-image img{object-position:center 58%}
  .aw-v3-master-knowledge .aw-v3-master-image img{object-position:center 54%}
  .aw-v3-master-company .aw-v3-master-image img{object-position:center 52%}
  .aw-v3-master-data{grid-template-rows:auto 300px}
  .aw-v3-data-system svg{width:min(88%,650px)}
  .aw-v3-master-applications{height:auto;display:grid;grid-template-columns:1fr;margin-top:18px}
  .aw-v3-master-applications>header{padding:clamp(40px,6vw,54px)}
  .aw-v3-master-applications header>p:not(.aw-v3-master-label){font-size:14px}
  .aw-v3-master-app-strip{display:grid;height:auto;grid-template-columns:none;grid-template-rows:360px;grid-auto-flow:column;grid-auto-columns:minmax(250px,38vw);gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scroll-padding-inline:22px;padding:0 22px 24px}
  .aw-v3-master-app-strip>a{height:360px;grid-template-rows:minmax(0,1fr) 60px;scroll-snap-align:start;scroll-snap-stop:normal}
  .aw-v3-master-app-strip>a:first-child{border-left:0}
  .aw-v3-master-app-strip img{object-position:center}
  .aw-v3-master-premium{height:340px;margin-top:18px}
  .aw-v3-master-premium-media img{object-position:68% 50%}
  .aw-v3-master-premium-copy{padding-top:52px}
  .aw-v3-master-premium h3,.aw-v3-master-premium p:not(.aw-v3-master-label){max-width:460px;-webkit-line-clamp:2}
}

/* Mobile editorial translation. */
@media (max-width:768px){
  .aw-v3-header .aw-v3-nav-shell{width:min(90vw,390px)}
  .aw-v3-nav-toggle{min-width:44px;min-height:44px}
  .aw-v3-primary-nav a,.aw-v3-actions a{min-height:44px}
  .aw-v3-capabilities{scroll-snap-type:x proximity;scroll-padding-inline:16px}
  .aw-v3-capability-grid{min-width:0;grid-template-columns:repeat(7,minmax(164px,1fr))}
  .aw-v3-capability-grid>a{scroll-snap-align:start}
  .aw-v3-master-row,.aw-v3-master-applications,.aw-v3-master-premium-copy{width:calc(100% - 40px)}
  .aw-v3-master-row-a,.aw-v3-master-row-b{gap:20px}
  .aw-v3-master-copy{padding:46px 6px 38px}
  .aw-v3-master-label{font-size:10px;margin-bottom:18px}
  .aw-v3-master-module h2,.aw-v3-master-applications h2,.aw-v3-master-premium h2{font-size:clamp(29px,5.2vw,35px)}
  .aw-v3-master-module h3{margin-top:18px;font-size:clamp(27px,4.8vw,33px);line-height:1.42}
  .aw-v3-master-meta{margin-top:21px}
  .aw-v3-master-dek{margin-top:17px;font-size:14px;line-height:1.82}
  .aw-v3-master-link{min-height:44px;margin-top:19px;padding-top:10px;font-size:13px}
  .aw-v3-master-industry,.aw-v3-master-knowledge,.aw-v3-master-company{grid-template-rows:auto 320px}
  .aw-v3-master-data{grid-template-rows:auto 280px}
  .aw-v3-master-applications>header{padding:48px 6px 38px}
  .aw-v3-master-app-strip{grid-template-rows:350px;grid-auto-columns:minmax(250px,72vw);scroll-snap-type:x mandatory;padding-right:20px;padding-left:0}
  .aw-v3-master-app-strip>a{height:350px;scroll-snap-align:start}
  .aw-v3-master-app-strip span{padding-inline:14px}
  .aw-v3-master-app-strip strong{font-size:14px}
  .aw-v3-master-app-strip small{font-size:8px}
  .aw-v3-master-premium{height:370px}
  .aw-v3-master-premium-media img{object-position:72% center}
  .aw-v3-master-premium-media:after{background:linear-gradient(90deg,rgba(7,12,15,.92) 0%,rgba(8,13,16,.75) 48%,rgba(8,13,16,.18) 100%)}
  .aw-v3-master-premium-copy{padding-top:56px}
  .aw-v3-premium-link{min-height:44px;padding:14px 20px}
  .aw-v3-master-footer-inner{gap:0}
  .aw-v3-master-footer-brand{min-height:44px}
}

@media (max-width:480px){
  .aw-v3-theme{--aw-v3-shell:calc(100% - 40px)}
  .aw-v3-header-inner,.aw-v3-hero-layout{margin-left:20px;margin-right:20px}
  .aw-v3-brand strong{font-size:14px}
  .aw-v3-brand small{max-width:190px;overflow:hidden;text-overflow:ellipsis}
  .aw-v3-hero-layout{min-height:950px;padding-top:42px;padding-bottom:26px;gap:96px}
  .aw-v3-eyebrow{font-size:7.5px;letter-spacing:.23em}
  .aw-v3-hero h1{font-size:clamp(42px,11.7vw,50px);line-height:1.12}
  .aw-v3-promise{font-size:14px;line-height:1.65}
  .aw-v3-intro{font-size:12px;line-height:1.78}
  .aw-v3-hero-actions{flex-wrap:wrap;gap:12px 18px}
  .aw-v3-hero-actions a{min-height:44px;font-size:11px}
  .aw-v3-secondary-cta{display:inline-flex}
  .aw-v3-glass{padding:21px 20px 0}
  .aw-v3-glass header{gap:12px}
  .aw-v3-glass time{max-width:115px}
  .aw-v3-market-link{margin-inline:-20px;padding-inline:20px}
  .aw-v3-capability-grid{grid-template-columns:repeat(7,minmax(154px,1fr))}
  .aw-v3-master-body{padding-top:12px}
  .aw-v3-master-row,.aw-v3-master-applications,.aw-v3-master-premium-copy{width:calc(100% - 40px)}
  .aw-v3-master-row-a,.aw-v3-master-row-b{gap:16px}
  .aw-v3-master-row-b{margin-top:16px}
  .aw-v3-master-copy{padding:42px 4px 32px}
  .aw-v3-master-module h2,.aw-v3-master-applications h2,.aw-v3-master-premium h2{font-size:30px;line-height:1.25}
  .aw-v3-master-module h3{font-size:27px;line-height:1.44;-webkit-line-clamp:3}
  .aw-v3-master-dek{font-size:14px;-webkit-line-clamp:3}
  .aw-v3-master-industry,.aw-v3-master-knowledge,.aw-v3-master-company{grid-template-rows:auto 260px}
  .aw-v3-master-data{grid-template-rows:auto 240px}
  .aw-v3-master-industry .aw-v3-master-image img{object-position:51% center}
  .aw-v3-master-knowledge .aw-v3-master-image img{object-position:63% center}
  .aw-v3-master-company .aw-v3-master-image img{object-position:56% center}
  .aw-v3-data-system svg{width:96%}
  .aw-v3-data-system span{right:3%;bottom:18px;font-size:7px}
  .aw-v3-master-applications{margin-top:16px}
  .aw-v3-master-applications>header{padding:44px 4px 32px}
  .aw-v3-master-app-strip{grid-template-rows:336px;grid-auto-columns:76vw;gap:10px;padding:0 0 24px;scroll-padding-inline:0}
  .aw-v3-master-app-strip>a{height:336px;grid-template-rows:minmax(0,1fr) 62px}
  .aw-v3-master-app-strip a:nth-child(1) img{object-position:center 48%}
  .aw-v3-master-app-strip a:nth-child(2) img{object-position:center 48%}
  .aw-v3-master-app-strip a:nth-child(3) img{object-position:center 45%}
  .aw-v3-master-app-strip a:nth-child(4) img{object-position:center 53%}
  .aw-v3-master-app-strip a:nth-child(5) img{object-position:center 45%}
  .aw-v3-master-app-strip a:nth-child(6) img{object-position:center 52%}
  .aw-v3-master-premium{height:390px;margin-top:16px}
  .aw-v3-master-premium-media img{object-position:75% center}
  .aw-v3-master-premium-copy{padding-top:55px}
  .aw-v3-master-premium h3,.aw-v3-master-premium p:not(.aw-v3-master-label){max-width:280px;font-size:14px;line-height:1.65;-webkit-line-clamp:2}
  .aw-v3-master-footer{min-height:250px}
  .aw-v3-master-footer-inner{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:30px 0}
  .aw-v3-master-footer-statement{width:100%;margin-top:20px;padding:18px 0 0;border-top:1px solid rgba(39,42,40,.16);border-left:0}
  .aw-v3-master-footer-statement p{max-width:320px;font-size:14px;line-height:1.7}
  .aw-v3-master-footer-meta{width:100%;margin-top:18px;text-align:left}
  .aw-v3-master-footer-meta p br{display:none}
  .aw-v3-master-footer-meta p{word-spacing:.35em}
  .aw-v3-master-footer-meta nav{justify-content:flex-start}
  .aw-v3-master-footer-meta a{display:inline-flex;align-items:center;min-height:44px}
}

@media (prefers-reduced-motion:reduce){
  .aw-v3-capabilities,.aw-v3-master-app-strip{scroll-behavior:auto}
}
