/* V74: Smartphones are designed for PORTRAIT; tablets retain landscape recommendation. */
/* Portrait phones and landscape phones share a small physical device width. */
@media (pointer:coarse) and (max-device-width:700px){
  .rotate-advice,.portrait-orientation-note{display:none!important}
  body:not(.orientation-dismissed) .rotate-advice{display:none!important}
}
/* Fallback for browsers not supporting max-device-width reliably. */
@media (pointer:coarse) and (max-width:700px){
  .rotate-advice,.portrait-orientation-note{display:none!important}
  body:not(.orientation-dismissed) .rotate-advice{display:none!important}
}
/* Short smartphone landscape: stop the four-pillar captions and header from colliding. */
@media (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (max-width:1024px){
  .experience-shell{grid-template-rows:62px minmax(0,1fr) 34px!important}
  .unified-head{height:62px!important;grid-template-rows:30px 26px!important;padding:2px 13px!important;gap:0 6px!important}
  .head-brand{font-size:17px!important}
  .head-back{font-size:9px!important}
  .main-tabs{gap:clamp(10px,2.2vw,20px)!important;max-width:100%;justify-content:center}
  .main-tabs a{font-size:9px!important;letter-spacing:.045em!important}
  .view-pillars{overflow:hidden!important}
  .pillar-stage{width:min(95vw,calc((100dvh - 96px)*16/9))!important;max-width:100%!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important}
  .pillar-heading{top:0!important}
  .pillar-heading .eyebrow,.pillar-heading p,.pillar-captions{display:none!important}
  .pillar-heading h1{margin:0!important;font-size:clamp(13px,1.9vw,19px)!important;line-height:1.1!important}
  .mini-home{padding:3px 12px!important;width:min(690px,100%)!important}
  .mini-home .eyebrow{font-size:9px!important;letter-spacing:.15em!important}
  .mini-home h1{font-size:clamp(23px,3.65vw,34px)!important;line-height:1.13!important;margin:8px 0!important}
  .mini-home>p:not(.eyebrow){font-size:clamp(10px,1.45vw,13px)!important;line-height:1.35!important;max-width:570px!important}
  .mini-quicklinks{margin-top:10px!important;gap:15px!important}
  .mini-quicklinks a{font-size:9px!important;padding-bottom:5px!important}
  .view-home-minimal{padding:6px 15px!important}
  .unified-footer{font-size:8px!important}
  .site-language>summary{min-width:57px!important;padding:6px 10px!important;min-height:29px}
  .world-hero{padding:38px 17px 37px!important}
  .world-back{font-size:10px!important;top:11px!important;left:17px!important}
  .v71-content{width:calc(100% - 95px)!important;max-width:calc(100% - 95px)!important;margin:0!important;padding:0!important}
  .v71-content h1{font-size:clamp(19px,3vw,27px)!important;line-height:1.12!important;margin-bottom:4px!important}
  .v71-eyebrow{margin-bottom:4px!important;font-size:8px!important}
  .v71-lead{font-size:clamp(13px,2vw,17px)!important;margin-bottom:4px!important}
  .v71-intro{font-size:10px!important;margin-bottom:6px!important;line-height:1.24!important}
  .v71-standards{gap:8px!important}
  .v71-standard{padding:4px 0 0!important}
  .v71-standard h2{font-size:9px!important;margin:0 0 3px!important}
  .v71-standard p{font-size:9px!important;line-height:1.2!important}
  .floating-contact-link{font-size:10px!important;padding:9px 11px!important;right:0!important;max-width:79px!important;min-width:0!important}
  body:has(.world)>.site-language{right:9px!important;bottom:8px!important}
}
/* Preserve large, readable text and stacked standards in phone portrait. */
@media (pointer:coarse) and (orientation:portrait) and (max-width:700px){
  .portrait-orientation-note{display:none!important}
}
