.tk-health-partner {
  --tk-ink: #14313d;
  --tk-accent: #07516d;
  --tk-line: #bcdce7;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  max-width: 1040px;
  margin: 18px auto;
  padding: clamp(22px, 4vw, 36px);
  padding-bottom: clamp(52px, 6vw, 64px);
  overflow: hidden;
  color: var(--tk-ink);
  background: linear-gradient(125deg, #fff 22%, #f3fbfd 65%, #dbf0f7);
  border: 1px solid var(--tk-line);
  border-radius: 24px;
}
body.dark .tk-health-partner {
  --tk-ink: #edf8fc;
  --tk-accent: #b3e7f7;
  --tk-line: #3d6271;
  background: linear-gradient(125deg, #172630 22%, #1b303b 65%, #244955);
}
.tk-health-partner-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.tk-health-partner .tk-health-partner-kicker {
  margin: 0 0 10px;
  color: var(--tk-accent);
  font-size: .92rem;
  font-weight: 750;
}
.tk-health-partner h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 4.3vw, 2.25rem);
  line-height: 1.14;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.tk-health-partner-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.tk-health-partner-links a { min-height: 44px; }
.tk-health-partner-internal {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tk-health-partner-display {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(234px, 27vw, 282px);
  height: 248px;
  justify-self: end;
}
.tk-health-partner-mark {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
}
.tk-health-partner-mark img {
  display: block;
  width: 120px;
  max-width: none;
  height: auto;
}
.tk-health-partner-ribbon {
  position: absolute;
  inset: 5px;
  pointer-events: none;
}
.tk-health-partner-ribbon::before {
  content: "";
  position: absolute;
  inset: 4%;
  border: 1px solid #009fe356;
  border-radius: 50%;
}
.tk-health-partner-ribbon span {
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 10px;
  border-radius: 70% 32% 65% 30%;
  background: linear-gradient(90deg, #009fe300, #009fe3 65%, #a3eafa);
  box-shadow: 0 2px 9px #087d9f35;
  transform-origin: center;
  offset-path: ellipse(46% 46%);
  offset-distance: 82%;
  offset-rotate: auto;
  animation: tk-partner-ribbon-orbit 5s -.20s linear infinite;
}
.tk-health-partner-ribbon span:nth-child(2) {
  opacity: .6;
  animation-delay: -.10s;
}
.tk-health-partner-ribbon span:nth-child(3) {
  opacity: .3;
  animation-delay: 0s;
}
@keyframes tk-partner-ribbon-orbit {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
.tk-health-partner-motion {
  position: absolute;
  z-index: 2;
  bottom: 4px;
  right: clamp(12px, 4vw, 26px);
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--tk-accent);
  font-size: .83rem;
  cursor: pointer;
}
.tk-health-partner-motion input {
  appearance: auto;
  inline-size: 16px;
  block-size: 16px;
  min-block-size: 0;
  margin: 0;
  accent-color: #07516d;
}
.tk-health-partner-motion:has(input:checked) ~ .tk-health-partner-display .tk-health-partner-ribbon span {
  animation-play-state: paused;
}
@media (max-width: 540px) {
  .tk-health-partner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
  .tk-health-partner-links { justify-content: center; }
  .tk-health-partner-display { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-health-partner-ribbon span { animation: none; }
  .tk-health-partner-motion { display: none; }
}
body.comfort-mode .tk-health-partner-ribbon span { animation: none; }
body.comfort-mode .tk-health-partner-motion { display: none; }
