/* Information pages: loaded after page styles; desktop rules stay untouched. */
@media (max-width: 1024px) {
  .tt-info-page [id],
  .tt-contact-page [id],
  .tt-cat-page [id],
  .tt-faq-page summary,
  .tt-contact-page .tt-contact-form-card,
  .tt-cat-page .tt-cat-lock-form,
  .tt-blog-single table {
    scroll-margin-top: 84px;
  }
  .sitemap-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .sitemap-info :is(.left, .right) {
    float: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .sitemap-info ul {
    margin-right: 0;
    padding-left: 20px;
  }
  .sitemap-info a {
    display: inline-block;
    max-width: 100%;
    padding: 8px 0;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  body.tt-info-popup {
    margin: 0;
    padding: 20px 16px;
    color: #071827;
    font: 16px/1.7 Arial, sans-serif;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }
  .tt-info-popup :is(h1, h2, h3) {
    line-height: 1.25;
  }
  .tt-info-popup h1 {
    font-size: 28px;
  }
  .tt-info-popup img {
    max-width: 100%;
    height: auto;
  }
  .tt-info-popup table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
  #content.tt-info-page,
  #content.tt-contact-page,
  #content.tt-cat-page {
    min-width: 0;
    max-width: 100%;
  }

  /* Allow localized headings and button labels to determine their own height. */
  .tt-info-page :is(h1, h2, h3, p, li, a),
  .tt-contact-page :is(h1, h2, h3, p, li, a),
  .tt-cat-page :is(h1, h2, h3, p, li, a) {
    overflow-wrap: anywhere;
  }
  .tt-info-page :is(.tt-info-eyebrow, .tt-legal-aside > span),
  .tt-contact-page .tt-contact-eyebrow,
  .tt-cat-page :is(.tt-cat-hero-copy > span, .tt-cat-section-head > span, .tt-cat-access-copy > span) {
    max-width: 100%;
    height: auto;
    min-height: 28px;
    padding-top: 6px;
    padding-bottom: 6px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }
  .tt-info-page .tt-info-hero-grid,
  .tt-contact-page .tt-contact-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-info-page .tt-info-hero .tt-info-actions {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    grid-auto-flow: initial;
    width: 100%;
    max-width: 100%;
    gap: 12px;
  }
  .tt-info-page .tt-info-hero .tt-info-actions > a {
    flex: 1 1 190px;
    width: auto;
    min-width: 0;
    max-width: 100%;
    min-height: 44px !important;
    height: auto !important;
    padding: 12px 16px !important;
    line-height: 1.4 !important;
    white-space: normal;
    text-align: center;
  }
  .tt-info-page .tt-info-actions svg,
  .tt-contact-page :is(.tt-contact-actions, .tt-contact-submit) svg {
    flex: 0 0 auto;
  }
  .tt-info-page :is(.tt-info-btn, .arrow-link),
  .tt-contact-page :is(.tt-contact-btn, .tt-contact-submit),
  .tt-cat-page :is(button, .tt-cat-card-actions a, .tt-cat-unlock-btn) {
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
  }
  .tt-info-page :is(.tt-about-story-grid, .tt-about-split, .tt-legal-layout, .tt-faq-layout) {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-info-page :is(.tt-about-story-grid, .tt-about-split, .tt-split, .tt-legal-layout, .tt-faq-layout) > *,
  .tt-contact-page :is(.tt-contact-flex, .tt-contact-workspace-grid, .tt-captcha-panel) > *,
  .tt-cat-page :is(.tt-cat-access-grid, .tt-cat-lock-form, .tt-cat-grid) > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .tt-info-page :is(.tt-about-story-grid, .tt-about-split, .tt-split) figure {
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
    width: 100%;
    min-height: 0;
    height: auto;
  }
  .tt-info-page :is(.tt-about-story-grid, .tt-about-split, .tt-split) figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto !important;
  }
  .tt-manufacturing-page :is(.tt-info-container.tt-split, .tt-align-right .tt-info-container) {
    flex-direction: column !important;
  }
  .tt-info-page :is(.tt-card-grid, .tt-feature-grid, .tt-process-grid, .tt-process-line) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tt-info-page :is(.tt-legal-aside, .tt-faq-nav) {
    position: static;
  }
  .tt-info-page :is(.tt-legal-aside nav a, .tt-faq-nav a) {
    height: auto;
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.5;
    white-space: normal;
  }
  .tt-faq-page .tt-faq-item summary {
    min-height: 48px;
    height: auto;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
  }

  /* All form controls remain at 16px to prevent mobile browser input zoom. */
  .tt-contact-page :is(input, select, textarea):not([type="hidden"]),
  .tt-cat-page :is(input, select, textarea):not([type="hidden"]) {
    min-width: 0;
    max-width: 100%;
    font-size: 16px !important;
    box-sizing: border-box;
  }
  .tt-contact-page .tt-contact-flex {
    flex-direction: column;
  }
  .tt-contact-page .tt-contact-workspace-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-contact-page .tt-captcha-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-contact-page .tt-captcha-panel img {
    justify-self: start;
    max-width: 100%;
  }
  .tt-contact-page .tt-location-list :is(a, div) > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* Keep the complete protected catalogue explanation and highlights visible. */
  html body #content.tt-cat-page {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }
  .tt-cat-page .tt-cat-hero p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    font-size: 15px;
    line-height: 1.65;
  }
  .tt-cat-page .tt-cat-hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tt-cat-page .tt-cat-access-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-cat-page .tt-cat-access-copy {
    min-height: 0;
    box-sizing: border-box;
  }
  .tt-cat-page :is(.tt-cat-card-top, .tt-cat-meta) {
    flex-wrap: wrap;
  }
  .tt-cat-page .tt-cat-card-actions a svg {
    flex: 0 0 auto;
  }

  /* Article tables scroll independently; comparison cards stay readable. */
  .tt-blog-single :is(.tt-blog-heading, .tt-blog-lead) {
    max-width: 100%;
  }
  .tt-blog-single .tt-blog-article-content :is(article, section, div) {
    min-width: 0;
    box-sizing: border-box;
  }
  .tt-blog-single .tt-blog-article-content :is(.tt-blog-compare-grid, [style*="grid-template-columns"]) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important;
  }
  .tt-blog-single .tt-blog-article-content table,
  .tt-info-page .tt-legal-document table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .tt-blog-single .tt-blog-article-content :is(th, td),
  .tt-info-page .tt-legal-document :is(th, td) {
    min-width: 130px;
    line-height: 1.6;
    overflow-wrap: normal;
  }
  .tt-blog-single :is(.tt-blog-inline-cta-actions a, .tt-blog-article-actions a) {
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 44px;
    padding: 12px 16px !important;
    white-space: normal;
    line-height: 1.5;
    text-align: center;
  }
  .tt-blog-single .tt-blog-card-cat {
    max-width: calc(100% - 28px);
    box-sizing: border-box;
  }
}

@media (max-width: 767px) {
  .tt-info-page :is(.tt-info-container, .tt-blog-wide-container, .tt-blog-article-shell),
  .tt-contact-page .tt-contact-container,
  .tt-cat-page .tt-cat-wrap {
    width: calc(100% - 28px);
    max-width: 100%;
    box-sizing: border-box;
  }
  .tt-info-page h2,
  .tt-contact-page :is(.tt-contact-section-head, .tt-contact-card-head) h2,
  .tt-cat-page :is(.tt-cat-access-copy, .tt-cat-section-head) h2 {
    font-size: clamp(26px, 6vw, 32px) !important;
    line-height: 1.25 !important;
  }
  .tt-info-page .tt-info-hero h1 {
    font-size: clamp(30px, 7vw, 38px);
    line-height: 1.16;
  }
  .tt-contact-page .tt-contact-hero h1 {
    line-height: 1.2;
  }
  .tt-info-page :is(.tt-info-hero p, .tt-blog-lead),
  .tt-contact-page .tt-contact-hero p {
    font-size: 15px;
    line-height: 1.7;
  }
  .tt-info-page :is(.tt-legal-cta, .tt-cta-box, .tt-blog-inline-cta) {
    padding: 24px 18px;
    box-sizing: border-box;
  }
  .tt-contact-page :is(.tt-contact-form-card, .tt-contact-location-card, .tt-contact-checklist) {
    padding: 20px 16px;
  }
  .tt-contact-page :is(.tt-form-grid, .tt-contact-method-grid) {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-contact-page .tt-contact-btn {
    width: 100%;
  }
  .tt-cat-page .tt-cat-lock-form {
    padding: 24px 18px;
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-cat-page .tt-cat-access-copy {
    padding: 28px 24px;
  }
  .tt-cat-page .tt-cat-access-copy h2 {
    font-size: 28px !important;
  }
  .tt-cat-page .tt-cat-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-cat-page .tt-cat-captcha {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-cat-page .tt-cat-captcha img {
    justify-self: start;
    max-width: 100%;
  }
  .tt-blog-single .tt-blog-article-content {
    font-size: 16px;
    line-height: 1.8;
  }
  .tt-blog-single .tt-blog-article-content h2 {
    font-size: 23px !important;
  }
  .tt-blog-single :is(.tt-blog-inline-cta, .tt-workflow-container, .tt-blog-callout, .tt-blog-compare-card) {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 560px) {
  .tt-info-page :is(.tt-about-card-grid, .tt-card-grid, .tt-feature-grid, .tt-process-grid, .tt-process-line, .tt-workflow-grid) {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-manufacturing-page .tt-align-right .tt-card-grid article {
    width: 100%;
  }
  .tt-contact-page .tt-contact-flex {
    padding: 12px;
    gap: 24px;
  }
  .tt-cat-page .tt-cat-hero-highlights {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-cat-page .tt-cat-hero-highlights > div {
    min-height: 0;
  }
  .tt-cat-page .tt-cat-hero-highlights strong {
    font-size: 19px;
  }
  .tt-cat-page .tt-cat-card-actions {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-blog-single .tt-blog-article-content :is(.tt-blog-compare-grid, [style*="grid-template-columns"]) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
