/* Everything visual is phone-only. No desktop templates or article content are changed. */
#sst-mobile-tools, .sst-mc-contact-card, .sst-mc-table-hint {display:none}
@media (max-width:767px) {
  body:not(.wp-admin) {padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
  html.sst-mc-ready .embed-icon {display:none!important}
  #sst-mobile-tools {display:block;position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:1000;font-size:16px;color:#141414}
  #sst-mobile-tools [hidden] {display:none!important}
  #sst-mobile-tools .sst-mc-toggle {display:flex;align-items:center;justify-content:center;min-width:80px;min-height:48px;padding:10px 16px;border:1px solid #d7a32c;border-radius:24px;background:#f6b51b;color:#141414;font:inherit;font-weight:700;box-shadow:0 3px 14px #0002}
  #sst-mobile-contact-options {position:absolute;bottom:60px;right:0;width:min(290px,calc(100vw - 32px));max-height:calc(100dvh - 180px);overflow:auto;background:#fff;border:1px solid #dfd9cd;border-radius:8px;box-shadow:0 8px 28px #0002;padding:8px}
  #sst-mobile-contact-options a {display:flex;align-items:center;min-height:48px;padding:12px;color:#141414;font-size:15px;line-height:1.5;text-decoration:none;border-bottom:1px solid #eee9df}
  #sst-mobile-contact-options a:last-child {border:0;background:#fff7df}
  #sst-mobile-tools :focus-visible {outline:3px solid #856000;outline-offset:2px}
  body.menu-open #sst-mobile-tools,body.sst-modal-open #sst-mobile-tools,html.sst-mc-editing #sst-mobile-tools {display:none!important}
  html.sst-mc-ready .back-top {right:auto!important;left:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important}
  html.sst-mc-editing .back-top {display:none!important}
  /* Readable form text prevents automatic zoom in mobile Safari. */
  body:not(.wp-admin) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {font-size:16px!important}
  .sst-tank-page :is(.tk-button,.tk-filters button,.tk-text-link),.ha-link {min-height:44px;align-content:center}
  body:not(.wp-admin) .sst-table-scroll {overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .sst-mc-table-hint:not([hidden]) {display:block!important;font-size:13px!important;line-height:1.5;margin:12px 0 6px!important;color:#5b554b!important}
  .sst-mc-contact-original {display:none!important}
  .sst-mc-contact-card {display:grid;gap:4px;padding:18px;border:1px solid #dfd9cd;border-left:3px solid #f6b51b;border-radius:4px;background:#f7f4ed;color:#141414;margin:20px 0;line-height:1.6}
  .sst-mc-contact-card strong {font-size:19px}
  .sst-mc-contact-card a {display:flex;align-items:center;min-height:44px;font-size:16px;color:#141414;overflow-wrap:anywhere;text-decoration:none}
  .sst-mc-contact-card .sst-mc-contact-action {justify-content:center;background:#f6b51b;margin-top:8px;font-weight:700;padding:8px}
  /* Compact the existing sections without dropping any headings, copy or links. */
  body[data-page=home] .sst-home-banner {padding-top:32px}
  body[data-page=home] .sst-home-banner .hb-inner {min-height:0;padding-bottom:24px;gap:20px}
  body[data-page=home] .sst-home-banner .hb-title {font-size:29px;margin-bottom:18px}
  body[data-page=home] .sst-home-banner .hb-actions {margin-top:20px;gap:10px}
  body[data-page=home] .sst-home-banner .hb-button {min-height:48px;padding:12px}
  body[data-page=home] .sst-home-banner .hb-proof {margin-top:18px}
  body[data-page=home] :is(#buyer-products.ha-products,#buyer-applications.sst-industry-showcase,#buyer-customers.sst-customer-gallery,#buyer-company.sst-company-story,#buyer-certificates.sst-company-certificates,#buyer-capability.sst-core-capabilities) {padding-block:36px}
  body[data-page=home] .ha-product-image img {height:190px;aspect-ratio:auto;object-fit:contain}
  body[data-page=home] .ha-product-copy {padding:18px}
  body[data-page=home] .ha-product-copy>p {font-size:15px;line-height:1.75}
  body[data-page=home] #buyer-applications .industry-grid {gap:16px}
  body[data-page=home] #buyer-applications .industry-card {display:grid;grid-template-columns:100px minmax(0,1fr);align-items:start;gap:12px;padding:14px}
  body[data-page=home] #buyer-applications .industry-photo {aspect-ratio:auto;min-width:0;margin:0;border:0;border-radius:3px}
  body[data-page=home] #buyer-applications .industry-photo img {aspect-ratio:1;height:auto;object-fit:contain}
  body[data-page=home] #buyer-applications .industry-photo figcaption {position:static;max-width:100%;font-size:12px;padding:4px 0;background:transparent}
  body[data-page=home] #buyer-applications .industry-copy {padding:0}
  body[data-page=home] #buyer-applications h3 {font-size:18px;margin-bottom:10px}
  body[data-page=home] #buyer-applications dl {gap:8px;margin-bottom:10px}
  body[data-page=home] #buyer-applications dl>div {display:block;font-size:14px;line-height:1.65}
  body[data-page=home] #buyer-applications dt {font-size:13px;color:#65615a}
  body[data-page=home] #buyer-applications .industry-products {font-size:14px;padding-top:10px}
  body[data-page=home] #buyer-applications .industry-link {font-size:14px;gap:5px;min-height:44px}
  body[data-page=home] #buyer-customers .customer-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body[data-page=home] #buyer-customers figcaption {padding:10px;font-size:14px}
  body[data-page=home] #buyer-customers .customer-zoom {right:5px;bottom:5px;font-size:11px;padding:3px 5px}
  body[data-page=home] #buyer-certificates .company-cert-image {aspect-ratio:auto;height:210px}
  body[data-page=home] #buyer-certificates .company-cert-card {padding:16px}
  body[data-page=home] #buyer-certificates .cert-copy {padding-top:14px}
  body[data-page=home] #buyer-certificates .cert-heading {margin-bottom:24px}
  .sst-tank-page .tk-section {padding-block:36px}
  .sst-tank-page .tk-heading {margin-bottom:24px}
  .sst-tank-page .tk-heading h2 {font-size:26px;line-height:1.4}
  .sst-tank-page .tk-hero h1 {font-size:30px;line-height:1.3}
}
@media (max-width:359px) {
  body[data-page=home] #buyer-applications .industry-card {grid-template-columns:76px minmax(0,1fr);gap:10px;padding:12px}
}
