/*
  SEO Change List 08 · guide links, "Comparing options?" lines, "For doctors" boxes, related guides,
  case-study quotes and cards, /customers/{slug} and /pricing.
  Scoped to .tc-compare / .tc-health-box / .tc-guide* / .tc-quote / .tc-cases / .tc-case / .tc-pricing / .tc-demo-trust,
  so nothing else changes. Loaded only on pages that use a block (see _Layout, SeoBlocksCss).
  Sizes are px on purpose: the EHR pages run a rem-root bridge, so rem would size differently per page.
*/
.tc-page-blocks,
.tc-compare,
.tc-health-box,
.tc-related-guides,
.tc-guides,
.tc-quote,
.tc-cases,
.tc-case,
.tc-pricing,
.tc-demo-trust {
  color: var(--tc-ink, #1a2b2b);
  font-family: var(--tc-font, "Segoe UI", system-ui, -apple-system, sans-serif);
  box-sizing: border-box;
}

.tc-compare a,
.tc-health-box a,
.tc-quote a,
.tc-cases a,
.tc-guides a,
.tc-pricing a,
.tc-case a {
  color: #3f7a0f;
  text-decoration: none;
}

.tc-compare a:hover,
.tc-health-box a:hover,
.tc-quote a:hover,
.tc-cases a:hover,
.tc-guides a:hover,
.tc-pricing a:hover,
.tc-case a:hover {
  text-decoration: underline;
}

.tc-compare a:focus-visible,
.tc-health-box a:focus-visible,
.tc-quote a:focus-visible,
.tc-cases a:focus-visible,
.tc-guides a:focus-visible,
.tc-guide-card__link:focus-visible,
.tc-pricing a:focus-visible,
.tc-case a:focus-visible {
  outline: 2px solid var(--tc-focus, #5f9419);
  outline-offset: 2px;
}

/* ---- "Comparing options? Read:" line ---- */
.tc-compare {
  max-width: 1152px;
  margin: 0 auto;
  padding: 24px 16px 8px;
  text-align: center;
}

.tc-compare__line {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* ---- "For doctors" box ---- */
.tc-health-box {
  max-width: 760px;
  margin: 32px auto;
  padding: 16px 20px;
  background: var(--tc-surface, #f5fcf5);
  border: 1px solid var(--tc-border, #d4e8b8);
  border-radius: 12px;
}

.tc-health-box p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.tc-health-box__links {
  margin-top: 6px !important;
  font-weight: 600;
}

/* ---- guide cards (homepage block and Related guides) ---- */
.tc-guides__inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 40px 16px;
  text-align: center;
}

.tc-guides__heading,
.tc-related-guides__heading,
.tc-cases__heading {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.tc-guide-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
  text-align: left;
}

.tc-guide-grid--four {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.tc-guide-grid--three {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.tc-guide-card {
  margin: 0;
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  overflow: hidden;
}

.tc-guide-card__link {
  display: block;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

.tc-guide-card__link:hover .tc-guide-card__title {
  color: #3f7a0f;
}

.tc-guide-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  background: #f1f4f8;
}

.tc-guide-card__title {
  display: block;
  padding: 14px 16px 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.tc-guide-card__line {
  display: block;
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--tc-muted, #5c6b6b);
}

.tc-guide-card__title:last-child {
  padding-bottom: 16px;
}

.tc-guides__more {
  margin: 24px 0 0;
  font-weight: 600;
}

.tc-related-guides {
  margin: 48px 0 0;
  padding-top: 8px;
}

.tc-related-guides__heading {
  font-size: 24px;
}

/* ---- client quote ---- */
.tc-page-blocks {
  max-width: 1152px;
  margin: 0 auto;
}

.tc-quote {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 16px 8px;
  text-align: center;
}

.tc-quote__figure {
  margin: 0;
  padding: 28px 24px;
  background: var(--tc-surface, #f5fcf5);
  border: 1px solid var(--tc-border, #d4e8b8);
  border-radius: 16px;
}

.tc-quote__logo {
  display: block;
  width: 160px;
  height: auto;
  margin: 0 auto 16px;
}

.tc-quote__text {
  margin: 0;
}

.tc-quote__text p {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.55;
}

.tc-quote__by {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--tc-muted, #5c6b6b);
}

.tc-quote__more {
  margin: 14px 0 0;
  font-weight: 600;
}

/* ---- case-study cards (/customers top row, homepage row) ---- */
.tc-cases {
  max-width: 1152px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  text-align: center;
}

.tc-cases__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
  text-align: left;
}

.tc-case-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--tc-border, #d4e8b8);
  border-radius: 12px;
}

.tc-case-card__logo {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
}

.tc-case-card__name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.tc-case-card__line,
.tc-case-card__by {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--tc-muted, #5c6b6b);
}

.tc-case-card__quote {
  margin: 0;
}

.tc-case-card__quote p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.tc-case-card__link {
  margin-top: auto;
  font-weight: 600;
}

/* ---- /request-demo trust: smaller logos (about 48px high) ---- */
.tc-demo-trust .tc-trust__inner {
  padding: 24px 16px 8px;
}

.tc-demo-trust .tc-trust__heading {
  font-size: 22px;
}

.tc-demo-trust .tc-logos__img {
  width: 120px;
}

/* ---- /customers/{slug} ---- */
.tc-case {
  padding: 24px 16px 64px;
}

.tc-case__article {
  max-width: 800px;
  margin: 0 auto;
}

.tc-case__crumbs,
.tc-pricing__crumbs {
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--tc-muted, #5c6b6b);
}

.tc-case__head h1 {
  margin: 12px 0 10px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.tc-case__logo {
  display: block;
  width: 200px;
  height: auto;
}

.tc-case__summary {
  margin: 0 0 24px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--tc-muted, #5c6b6b);
}

.tc-case__glance {
  margin: 0 0 28px;
  padding: 20px 24px;
  background: var(--tc-surface, #f5fcf5);
  border: 1px solid var(--tc-border, #d4e8b8);
  border-radius: 12px;
}

.tc-case__glance-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.tc-case__glance-list {
  margin: 0;
  display: grid;
  gap: 10px;
}

.tc-case__glance-row {
  display: grid;
  grid-template-columns: minmax(110px, 170px) 1fr;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.tc-case__glance-row dt {
  font-weight: 700;
}

.tc-case__glance-row dd {
  margin: 0;
}

.tc-case__infographic {
  margin: 0 0 32px;
}

.tc-case__infographic img,
.tc-case__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.tc-case__body {
  font-size: 17px;
  line-height: 1.75;
}

.tc-case__body h2 {
  margin: 36px 0 12px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
}

.tc-case__body ul {
  padding-left: 22px;
}

.tc-case__body li {
  margin: 6px 0;
}

/* The quote inside the body shows as a large pull quote. */
.tc-case__body blockquote {
  margin: 20px 0;
  padding: 24px 28px;
  background: var(--tc-surface, #f5fcf5);
  border-left: 5px solid #5f9419;
  border-radius: 0 12px 12px 0;
}

.tc-case__body blockquote p {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.55;
}

.tc-case__body blockquote footer {
  margin-top: 14px;
  font-size: 15px;
  color: var(--tc-muted, #5c6b6b);
}

.tc-case__body blockquote footer::before {
  content: "\2014\00a0";
}

.tc-case__photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin: 32px 0 0;
}

.tc-case__photo {
  margin: 0;
}

.tc-case__client-link {
  margin: 24px 0 0;
  font-size: 15px;
  color: var(--tc-muted, #5c6b6b);
}

.tc-case .btn-demo,
.tc-pricing .btn-demo {
  display: inline-block;
  background: #3f7a0f;
  color: #fff !important;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none !important;
}

.tc-case .btn-demo:hover,
.tc-pricing .btn-demo:hover {
  background: #356a0b;
}

/* ---- /pricing ---- */
.tc-pricing {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

.tc-pricing__head h1 {
  margin: 0 0 12px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
}

.tc-pricing__lead {
  margin: 0 0 24px;
  font-size: 19px;
  line-height: 1.65;
}

.tc-pricing__section h2 {
  margin: 28px 0 12px;
  font-size: 24px;
  font-weight: 700;
}

.tc-pricing__list {
  margin: 0;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.7;
}

.tc-pricing__section p {
  font-size: 17px;
  line-height: 1.65;
}

.tc-pricing__cta {
  margin: 28px 0 12px;
}

.tc-pricing__compare {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.7;
}

.tc-pricing .tc-quote {
  padding-left: 0;
  padding-right: 0;
}

.tc-pricing__faq-item {
  margin: 0 0 10px;
  padding: 12px 16px;
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  background: #fff;
}

.tc-pricing__faq-item summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.tc-pricing__faq-item p {
  margin: 10px 0 0;
}

@media (max-width: 640px) {
  .tc-guides__heading,
  .tc-related-guides__heading,
  .tc-cases__heading {
    font-size: 24px;
  }

  .tc-quote__text p,
  .tc-case__body blockquote p {
    font-size: 19px;
  }

  .tc-case__head h1,
  .tc-pricing__head h1 {
    font-size: 28px;
  }

  .tc-case__glance-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---- mobile / touch polish ---- */

/* /customers: the full client grid now has its own heading; logos match the case-study cards. */
.tc-customers__all-heading {
  max-width: 1152px;
  margin: 8px auto 16px;
  padding: 0 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--tc-ink, #1a2b2b);
}

.tc-case-card__logo {
  width: 200px;
}

/* Infographic: small text, so on a phone it is a tappable link to the full-size image. */
.tc-case__infographic-link {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
}

.tc-case__infographic-hint {
  display: none;
  padding: 10px 0;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #3f7a0f;
}

@media (max-width: 640px) {
  .tc-case__infographic-hint {
    display: block;
  }

  .tc-customers__all-heading {
    font-size: 24px;
  }

  /* Long card rows become swipeable rows (next card peeks in) instead of a two-screen stack. */
  .tc-cases--quotes .tc-cases__grid,
  .tc-guides .tc-guide-grid {
    display: flex;
    gap: 12px;
    margin: 0 -16px;
    padding: 0 16px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .tc-cases--quotes .tc-case-card,
  .tc-guides .tc-guide-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }
}

/* Touch targets: standalone links get at least ~44px of height on phones and tablets. */
@media (max-width: 991.98px), (pointer: coarse) {
  .tc-compare a,
  .tc-health-box a,
  .tc-quote__more a,
  .tc-guides__more a,
  .tc-case-card__link,
  .tc-case__crumbs a,
  .tc-pricing__crumbs a,
  .insights-crumbs a,
  .insights-toc__list a,
  .insights-article__meta a {
    display: inline-block;
    padding: 14px 4px;
  }

  .tc-case__crumbs,
  .tc-pricing__crumbs,
  .insights-crumbs {
    line-height: 1.2;
  }
}

/* ---- SEO Change List 08 (corrected) 9c: "See how (client) uses TechsaCare" line with the client logo ---- */
.tc-case-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
  padding: 20px 16px 4px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--tc-ink, #1a2b2b);
  font-family: var(--tc-font, "Segoe UI", system-ui, -apple-system, sans-serif);
}

.tc-case-link a {
  color: #3f7a0f;
  text-decoration: none;
}

.tc-case-link a:hover {
  text-decoration: underline;
}

.tc-case-link a:focus-visible {
  outline: 2px solid #3f7a0f;
  outline-offset: 2px;
}

.tc-case-link__logo {
  display: block;
  width: 96px;
  max-height: 40px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 991.98px), (pointer: coarse) {
  .tc-case-link a {
    display: inline-block;
    padding: 12px 4px;
  }
}
