/* team-carousel breakpoints, loaded after the shared ones. */

@media (max-width: 900px) {
  .digital-team { height: auto; min-height: 0; margin-top: 120px; padding: 80px 0 60px; }
  .digital-team .section-intro h2 { font-size: 40px; line-height: 35px; }
  .digital-team .team-rail { margin-top: 50px; }
  .digital-team .team-track { gap: 16px; padding-inline: 16px; }
  .digital-team .team-card { width: 300px; }
  .digital-team .team-card > div { height: 345px; }
  .digital-team .team-card h3 { font-size: 26px; line-height: 29px; }
  .digital-team .team-card p { font-size: 16px; line-height: 22px; }
  .digital-team .team-controls { margin-top: 30px; padding-inline: 16px; }
  .team-section .section-intro h2 { max-width: 360px; font-size: 40px; line-height: 40px; }
  .team-section { min-height: 0; padding: 80px 0; }
  .team-section .section-intro > p:last-of-type:not(.eyebrow):not(.eyebrow) { max-width: 360px; }
  .team-rail { margin-top: 48px; }
  .team-rail { scroll-padding-inline: 16px; }
  .team-track { gap: 10px; padding-inline: 16px; }
  .team-card { width: 285px; }
  .team-card > div { height: 328px; }
  .team-card h3 { font-size: 26px; line-height: 30px; }
  .team-card p { font-size: 16px; line-height: 22px; }
  .team-controls { padding-inline: 16px; }
  .team-cta { margin-top: 36px; }
  .team-section--web { min-height: 696px; margin-top: 80px; padding: 0; }
  .team-section--web .section-intro h2 { max-width: 265px; font-size: 32px; line-height: 32px; }
  .team-section--web .section-intro h2 { line-height: 26.5px; }
  .team-section--web .section-intro > p:last-of-type:not(.eyebrow):not(.eyebrow) { max-width: 353px; font-size: 16px; line-height: 17.5px; }
  .team-section--web .team-rail { margin-top: 40px; }
  .team-section--web .team-card { width: 183px; }
  .team-section--web .team-card > div { height: 230px; }
  .team-section--web .team-card h3 { margin-top: 16px; font-size: 22px; line-height: 24px; }
  .team-section--web .team-card p { margin-top: 8px; font-size: 15px; line-height: 20px; }
  .team-section--web .team-controls { margin-top: 30px; }
  .team-section--web .team-cta { display: flex; margin-top: 40px; }
}

@media (max-width: 1100px) {
  .about-team { height: auto; min-height: 0; }
  .about-team { margin-top: 80px; padding-bottom: 0; }
  .about-team__intro { height: auto; }
  .about-team__grid { grid-template-columns: repeat(2,325px); gap: 56px 24px; margin-top: 60px; }
  .about-team__grid { grid-template-rows: none; height: auto; }
}

@media (max-width: 900px) {
  body.digital-marketing-page .digital-team { height: auto; min-height: 0; margin-top: 120px; padding: 80px 0 60px; }
}

@media (max-width: 767px) {
  .about-team { height: auto; margin-top: 80px; padding-bottom: 0; }
  .about-team__intro { height: auto; }
  .about-team__intro h2 { width: min(100%,200px); margin: 28px auto 0; font-size: 32px; line-height: 32px; letter-spacing: 0; }
  .about-team__intro .eyebrow { padding-inline: 24px; font-size: 14px; }
  .about-team__grid { display: grid; grid-template-columns: min(325px,100%); grid-template-rows: none; justify-content: start; gap: 16.6px; height: auto; margin-top: 32px; padding: 0 36px 0 53px; }
  .about-team-card > div { width: 100%; height: 373px; }
  .about-team-card:nth-child(1) { order: 1; }
  .about-team-card:nth-child(2) { order: 3; }
  .about-team-card:nth-child(3) { order: 2; }
  .about-team-card:nth-child(4) { order: 4; }
  .about-team-card:nth-child(5) { order: 6; }
  .about-team-card:nth-child(6) { order: 5; }
  .about-team-card h3 { margin-top: 20px; padding-left: 4px; font-size: 24px; font-weight: 600; line-height: 24px; }
  .about-team-card p { margin: 10px 0 -7px; padding-left: 4px; font-size: 16px; line-height: 24px; letter-spacing: 0; }
}

@media (max-width: 900px) {
  body.web-development-page .team-section--web .eyebrow { width: 101px; padding: 0; }
  body.web-development-page .team-section--web .web-section-intro h2 { margin-top: 30.4px; }
  body.web-development-page .team-section--web .web-section-intro > p:last-child { width: auto; line-height: 24px; }
  body.web-development-page .team-section--web h2 { width: auto; }
  body.web-development-page .team-section--web h2 { width: 200px; }
  body.web-development-page .team-section--web { padding: 84px 0 0; }
  body.web-development-page .team-section--web .team-rail { margin-top: 30.8px; scroll-padding-inline: 16px; }
  body.web-development-page .team-track { gap: 12px; padding-inline: 16px; }
  body.web-development-page .team-card { width: 183px; }
  body.web-development-page .team-card > div { height: 230px; }
  body.web-development-page .team-card h3 { margin: 17.2px 0 0 4px; font-size: 20px; line-height: 24px; }
  body.web-development-page .team-card p { margin: 9.6px 0 0 4px; font-size: 15px; line-height: 20px; }
  body.web-development-page .team-controls { margin-top: 42px; }
  body.web-development-page .team-cta { display: block; margin-top: 35.2px; text-align: center; }
  body.web-development-page .team-cta .button { width: 185px; min-width: 0; height: 50px; min-height: 50px; }
  body.email-marketing-page .team-section .team-rail { margin-top: 40px; }
  body.email-marketing-page .team-section { margin-top: 80px; }
}
