/* Careers + News & Awards (TruScan, Nano-style layout) */

.ts-cn {
  color: #585858;
}

.ts-cn h1,
.ts-cn h2,
.ts-cn h3 {
  letter-spacing: 0;
  text-transform: none;
}

.ts-cn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: #2d661b;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.ts-cn-btn:hover,
.ts-cn-btn:focus-visible {
  background: #1c3410;
  color: #fff !important;
}

.ts-cn-btn--sm {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
}

.ts-career-hero {
  position: relative;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
  background: #1c3410;
}

.ts-career-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ts-career-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.ts-career-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 24px;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ts-career-hero h1 {
  margin: 0 0 24px;
  max-width: 720px;
  color: #fff !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1.25;
}

.ts-cn-section {
  padding: 64px 0;
}

.ts-cn-section--dots {
  position: relative;
  background-color: #f5f5f5;
  background-image: radial-gradient(circle, #bdbdbd 1px, transparent 1px);
  background-size: 22px 22px;
}

.ts-cn-section--muted {
  background: #f4f4f4;
}

.ts-cn-wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.ts-cn-title {
  margin: 0 0 48px;
  color: #585858 !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  line-height: 1.3;
  text-align: center;
}

.ts-hire-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .ts-hire-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .ts-hire-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ts-hire-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #fff;
  border: 1px dashed #d1d5db;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ts-hire-card:hover {
  transform: translateY(-8px);
  border-color: #2d661b;
  box-shadow: 0 18px 36px rgba(45, 102, 27, 0.16);
}

.ts-hire-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
}

.ts-hire-card h3 {
  margin: 16px 0 8px;
  color: #585858 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-align: center;
}

.ts-hire-card p {
  margin: 0 0 16px;
  color: #585858;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  flex: 1;
}

.ts-hire-card .ts-cn-btn {
  align-self: center;
}

.ts-life-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

@media (min-width: 992px) {
  .ts-life-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.ts-life-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ts-life-shot {
  overflow: hidden;
  border-radius: 16px;
}

.ts-life-shot img {
  width: 100%;
  height: 176px;
  object-fit: cover;
}

.ts-life-shot--md img {
  height: 224px;
}

.ts-life-shot--lg {
  border-radius: 24px;
}

.ts-life-shot--lg img {
  height: 450px;
}

.ts-life-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.ts-life-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2d661b !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
}

.ts-life-cta span {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2d661b;
  color: #fff;
  font-size: 12px;
}

.ts-speak-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  justify-items: center;
}

@media (min-width: 768px) {
  .ts-speak-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .ts-speak-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ts-speak-card {
  width: 100%;
  max-width: 356px;
  padding: 12px;
  background: #fff;
  border: 1px dashed #d1d5db;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.1);
}

.ts-speak-card img {
  width: 100%;
  height: 276px;
  object-fit: cover;
  border-radius: 16px;
}

.ts-speak-card--no-photo {
  padding: 28px 20px 20px;
}

.ts-speak-card--no-photo h3 {
  margin-top: 0;
  text-align: center;
}

.ts-speak-card--no-photo p {
  text-align: center;
}

.ts-speak-card h3 {
  margin: 16px 8px 8px;
  color: #585858 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.ts-speak-card p {
  margin: 0 8px 16px;
  color: #585858;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.ts-speak-card button {
  display: block;
  margin: 0 auto 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #2d661b;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.ts-speak-card button:hover {
  text-decoration: underline;
}

.ts-award-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  justify-items: center;
}

@media (min-width: 768px) {
  .ts-award-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ts-award-card {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 420px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ts-award-mark {
  flex-shrink: 0;
  width: 40px;
  height: 52px;
  color: #8cc63f;
}

.ts-award-card div {
  flex: 1;
  text-align: center;
}

.ts-award-card .ts-award-year {
  margin: 0;
  color: #2d661b;
  font-weight: 600;
}

.ts-award-card .ts-award-org {
  margin: 8px 0 0;
  color: #585858;
}

.ts-award-card .ts-award-title {
  margin: 6px 0 0;
  color: #2d661b;
  font-weight: 600;
}

.ts-award-card .ts-award-who {
  margin: 6px 0 0;
  color: #374151;
}

.ts-intern-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .ts-intern-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ts-intern-grid p {
  margin: 0 0 24px;
  color: #6b7280;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

.ts-intern-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 24px;
}

.ts-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.6);
}

.ts-modal.is-open {
  display: flex;
}

.ts-modal__box {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 24px 24px;
  background: #fff;
  border-radius: 16px;
}

.ts-modal__box--speak {
  max-width: 520px;
  padding: 0;
}

.ts-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #1c3410;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.ts-modal h2 {
  margin: 0 0 20px;
  color: #1c3410 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  text-align: center;
}

.ts-job-form label {
  display: block;
  margin: 0 0 4px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.ts-job-form .ts-job-field {
  margin: 0 0 16px;
}

.ts-job-form input[type="text"],
.ts-job-form input[type="tel"],
.ts-job-form input[type="email"] {
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #d1d5db;
  background: transparent;
  font-size: 15px;
  outline: none;
}

.ts-job-form input:focus,
.ts-job-form select:focus {
  border-color: #2d661b;
}

.ts-job-form select,
.ts-job-form input[type="file"] {
  width: 100%;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 14px;
}

.ts-job-form .hint {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
}

.ts-job-form .g-recaptcha {
  margin: 8px 0 16px;
  transform: scale(0.92);
  transform-origin: left top;
}

.ts-job-error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 14px;
}

.ts-speak-modal-photo {
  display: flex;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.ts-speak-modal-photo img {
  width: 329px;
  height: 276px;
  object-fit: contain;
}

.ts-speak-modal-copy {
  padding: 24px;
  color: #585858;
}

.ts-speak-modal-copy h3 {
  margin: 0;
  color: #2d661b !important;
  font-size: 20px !important;
}

.ts-modal__box--speak.ts-modal__box--text-only {
  padding: 40px 8px 8px;
}

.ts-speak-modal-copy .role {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

.ts-speak-modal-copy .body {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}

.ts-news-banner {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #1c3410;
  cursor: pointer;
  line-height: 0;
}

.ts-news-banner img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.ts-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .ts-news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ts-news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-decoration: none !important;
  color: inherit;
}

.ts-news-card img {
  width: 100%;
  height: 208px;
  object-fit: cover;
}

.ts-news-card h3 {
  margin: 0;
  padding: 24px;
  color: #737373 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4;
}

.ts-social-modal .ts-modal__box {
  max-width: 380px;
  text-align: center;
}

.ts-social-modal h3 {
  margin: 8px 0 6px;
  color: #1f2937 !important;
  font-size: 20px !important;
}

.ts-social-modal p {
  margin: 0 0 20px;
  color: #6b7280;
  font-size: 14px;
}

.ts-social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ts-social-row a {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151 !important;
  font-size: 22px;
  text-decoration: none !important;
}

.ts-social-row a:hover {
  background: #2d661b;
  color: #fff !important;
}

body.ts-modal-open {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .ts-career-hero,
  .ts-career-hero__inner {
    min-height: 420px;
  }

  .ts-career-hero h1 {
    font-size: 26px !important;
  }

  .ts-cn-title {
    font-size: 24px !important;
    margin-bottom: 32px;
  }

  .ts-life-shot--lg img {
    height: 280px;
  }

  .ts-intern-grid img {
    height: 240px;
  }
}

.ts-review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .ts-review-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .ts-review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ts-review-grid .home-demo-quote {
  min-height: 0;
  height: 100%;
}

.ts-review-grid .home-demo-quote__text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* Doctor videos */
.ts-dv-section {
  padding: 64px 0 80px;
}

.ts-dv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .ts-dv-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .ts-dv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ts-dv-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  border: 0;
  padding: 0;
  width: 100%;
  display: block;
  color: inherit;
}

.ts-dv-card:hover .ts-dv-card__play {
  transform: scale(1.08);
}

.ts-dv-card__media {
  position: relative;
}

.ts-dv-card__media img.ts-dv-thumb {
  width: 100%;
  height: 224px;
  object-fit: cover;
  display: block;
}

.ts-dv-card__play-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ts-dv-card__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2d661b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(28, 52, 16, 0.35);
  transition: transform 0.2s ease;
}

.ts-dv-card__play svg {
  width: 24px;
  height: 24px;
  color: #fff;
  margin-left: 3px;
}

.ts-dv-card__logo {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 56px;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.ts-dv-card__body {
  padding: 16px;
}

.ts-dv-card__body h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #737373;
}

.ts-dv-follow {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.ts-dv-follow p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
}

.ts-dv-follow__row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ts-dv-follow__row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ts-dv-follow__row a:hover,
.ts-dv-follow__row a:focus-visible {
  background: #e5e7eb;
  color: #2d661b;
  transform: scale(1.08);
}

.ts-dv-follow__row i {
  font-size: 18px;
}

.ts-dv-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.7);
}

.ts-dv-modal.is-open {
  display: flex;
}

.ts-dv-modal__box {
  position: relative;
  width: 100%;
  max-width: 768px;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  animation: tsDvScaleIn 0.25s ease-out;
}

.ts-dv-modal__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.ts-dv-modal__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.ts-dv-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

@keyframes tsDvScaleIn {
  from {
    transform: scale(0.94);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
