
/* Prevent first section from hiding under fixed header (marquee banner + nav ~130–140px) */
.tm-industry-hero {
  scroll-margin-top: 145px;
}

/* FAQ accordion */
.tm-industry-page .tm-faq-item.is-open .tm-faq-icon {
  transform: rotate(45deg);
}
.tm-industry-page .tm-faq-item.is-open .tm-faq-answer {
  max-height: 600px !important;
}

/* Tablet: 1024px and below — clear marquee + nav */
@media (max-width: 1024px) {
  .tm-industry-hero {
    padding: 145px 32px 64px !important;
  }
  .tm-industry-stats,
  .tm-industry-clients {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  .tm-industry-stats {
    padding-bottom: 64px !important;
  }
  .tm-industry-clients {
    padding-bottom: 72px !important;
  }
  .tm-industry-challenges {
    padding: 72px 0 !important;
  }
  .tm-industry-challenges > div {
    padding: 0 32px !important;
  }
  .tm-challenges-grid {
    grid-template-columns: 1fr !important;
  }
  .tm-industry-casestudies {
    padding: 72px 32px !important;
  }
  .tm-industry-faq {
    padding: 72px 0 !important;
  }
  .tm-industry-faq > div {
    padding: 0 32px !important;
  }
  .tm-industry-cta {
    padding: 72px 32px !important;
  }
  .tm-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .tm-stat-cell {
    border-right: none !important;
  }
  .tm-stat-cell:nth-child(2n) {
    border-left: 1px solid #e5e5e5;
  }
  .tm-stat-cell:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-left: none;
  }
}

/* Mobile: 768px and below — clear marquee + nav so eyebrow & title are never hidden */
@media (max-width: 768px) {
  .tm-industry-hero {
    padding: 155px 20px 48px !important;
  }
  .tm-industry-hero .tm-eyebrow {
    font-size: 11px !important;
  }
  .tm-industry-hero h1 {
    font-size: clamp(1.65rem, 6vw, 2.25rem) !important;
  }
  .tm-hero-subtitle {
    font-size: 16px !important;
    padding: 0 8px;
  }
  .tm-industry-stats,
  .tm-industry-clients {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .tm-industry-stats {
    padding-bottom: 48px !important;
  }
  .tm-industry-clients {
    padding-bottom: 56px !important;
  }
  .tm-industry-page .tm-section-title {
    font-size: 22px !important;
    margin-bottom: 24px !important;
  }
  .tm-stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0;
  }
  .tm-stat-cell {
    padding: 24px 12px !important;
  }
  .tm-stat-cell > div:first-child {
    font-size: 28px !important;
  }
  .tm-stat-cell > div:last-child {
    font-size: 12px !important;
  }
  .tm-stat-cell:nth-child(2n) {
    border-left: 1px solid #e5e5e5;
  }
  .tm-stat-cell:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .tm-clients-wrap {
    gap: 8px !important;
  }
  .tm-clients-wrap span {
    padding: 10px 18px !important;
    font-size: 13px !important;
  }
  .tm-industry-challenges {
    padding: 56px 0 !important;
  }
  .tm-industry-challenges > div {
    padding: 0 20px !important;
  }
  .tm-industry-challenges .tm-challenges-grid {
    gap: 16px !important;
  }
  .tm-industry-challenges .tm-challenges-grid > div {
    padding: 24px !important;
  }
  .tm-industry-challenges .tm-challenges-grid h4 {
    font-size: 16px !important;
  }
  .tm-industry-challenges .tm-challenges-grid p {
    font-size: 14px !important;
  }
  .tm-industry-casestudies {
    padding: 56px 20px !important;
  }
  .tm-industry-faq {
    padding: 56px 0 !important;
  }
  .tm-industry-faq > div {
    padding: 0 20px !important;
  }
  .tm-faq-trigger {
    padding: 20px 0 !important;
    min-height: 48px;
    align-items: center;
  }
  .tm-faq-question {
    font-size: 16px !important;
    padding-right: 8px;
  }
  .tm-industry-cta {
    padding: 56px 20px !important;
  }
  .tm-industry-cta h2 {
    font-size: 26px !important;
  }
  .tm-industry-cta p {
    font-size: 16px !important;
    margin-bottom: 24px !important;
  }
  .tm-industry-cta a {
    padding: 14px 28px !important;
    font-size: 15px !important;
  }
}

/* Small mobile: 480px and below */
@media (max-width: 480px) {
  .tm-industry-hero {
    padding: 155px 16px 40px !important;
  }
  .tm-industry-stats,
  .tm-industry-clients {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .tm-industry-challenges > div,
  .tm-industry-casestudies,
  .tm-industry-faq > div,
  .tm-industry-cta {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .tm-stat-cell {
    padding: 20px 8px !important;
  }
  .tm-stat-cell > div:first-child {
    font-size: 24px !important;
  }
  .tm-clients-wrap span {
    padding: 8px 14px !important;
    font-size: 12px !important;
  }
}
