/* Shared related-product visual cards. All image and brand assets are official. */
.tx-related { padding: 54px 0; background: var(--gray); }
.tx-related h2 { font-size:30px; }
.tx-related-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.tx-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.tx-related a:not(.tx-related-card) { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.tx-related .tx-related-all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; font-size: 14px; }
.tx-related a.tx-related-card { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 0; overflow: hidden; background: #fff; border: 1px solid transparent; border-radius: 20px; color: var(--title); cursor: pointer; box-shadow: 0 8px 30px rgba(34,65,130,.035); transition: box-shadow .25s,transform .25s,border-color .25s; }
.tx-related a.tx-related-card:hover { transform: translateY(-5px); border-color: #c5d4ff; box-shadow: 0 16px 40px rgba(34,65,130,.1); }
.tx-related a.tx-related-card:active { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(34,65,130,.08); }
.tx-related a:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }
.tx-related-art { display: grid; grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr); place-items: center; width: 100%; height:180px; overflow: hidden; background: #e7f0ff; }
.tx-related-art img { display: block; width: 96%; height: 96%; min-width:0;min-height:0;max-width: none; object-fit: contain; object-position: center; transition: transform .4s cubic-bezier(.2,.65,.3,1); }
.tx-related-card:hover .tx-related-art img { transform: scale(1.025); }
.tx-related-card--wecom .tx-related-art { background: #e8f2ff; }
.tx-related-card--wecom .tx-related-art img { width: 94%; height: 94%; }
.tx-related-card--workbuddy .tx-related-art { background: #e0f7f0; }
.tx-related-card--workbuddy .tx-related-art img { width: 100%; height: 100%; }
.tx-related-card--lexiang .tx-related-art { background: #e9f5ff; }
.tx-related-card--lexiang .tx-related-art img { width: 94%; height: 94%; }
.tx-related-card--exmail .tx-related-art { background: #e5edff; }
.tx-related-card--exmail .tx-related-art img { width: 100%; height: 100%; }
.tx-related-card--tencent-meeting .tx-related-art { background: #e2eaff; }
.tx-related-card--tencent-meeting .tx-related-art img { width: 100%; height: 100%; }
.tx-related-card--docs .tx-related-art { background: #e6f0ff; }
.tx-related-card--docs .tx-related-art img { width: 95%; height: 95%; }
.tx-related-card--cloud .tx-related-art { background: #e4efff; }
.tx-related-card--cloud .tx-related-art img { width: 100%; height: 100%; object-fit: cover; object-position: 67% center; }
.tx-related-info { display: flex; flex-direction: column; flex: 1; min-height: 126px; padding: 18px 20px; }
.tx-related-card-main { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.tx-related-brand { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9px; overflow: hidden; }
.tx-related-brand img { display: block; width: 36px; height: 36px; object-fit: contain; }
.tx-related-brand--wecom { background: #1684ef; }
.tx-related-brand--wecom img { width: 32px; height: 32px; }
.tx-related-brand--exmail { background: #eef2ff; }
.tx-related-brand--exmail img { width: 32px; height: 32px; }
.tx-related-brand--lexiang img { width: 32px; height: 32px; }
.tx-related-card-copy { flex: 1; min-width: 0; }
.tx-related .tx-related-card h3 { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.45; }
.tx-related .tx-related-card p { margin: 5px 0 0; overflow: visible; white-space: normal; font-size: 13px; line-height: 1.7; color: var(--text); }
.tx-related .tx-related-card-link { display: inline-flex; align-items: center; align-self: flex-end; gap: 8px; width: fit-content; margin-top: auto; padding-top: 14px; font-size: 12px; color: var(--primary); }
.tx-related-card-link i { transition: transform .2s; }
.tx-related-card:hover .tx-related-card-link i { transform: translateX(3px); }
@media(max-width:1100px) {
  .tx-related-grid { gap: 18px; }
  .tx-related-info { min-height: 132px; padding: 18px; }
  .tx-related-card-main { gap: 11px; }
  .tx-related-brand { flex-basis: 36px; width: 36px; height: 36px; }
  .tx-related-brand img { width: 36px; height: 36px; }
  .tx-related-brand--exmail img { width: 32px; height: 32px; }
  .tx-related-brand--wecom img { width: 32px; height: 32px; }
  .tx-related .tx-related-card h3 { font-size: 17px; }
}
@media(max-width:760px) {
  .tx-related { padding-block: 40px; }
  .tx-related-head { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 24px; }
  .tx-related-grid { grid-template-columns: 1fr; gap: 18px; }
  .tx-related a.tx-related-card { border-radius: 18px; }
  .tx-related-art { height:160px; }
  .tx-related-info { min-height: 118px; padding: 18px 20px; }
  .tx-related-card-main { gap: 14px; }
  .tx-related-brand,.tx-related-brand img { width: 36px; height: 36px; }
  .tx-related-brand { flex-basis: 36px; }
  .tx-related-brand--wecom img { width: 32px; height: 32px; }
  .tx-related-brand--exmail img { width: 32px; height: 32px; }
  .tx-related-brand--lexiang img { width: 32px; height: 32px; }
  .tx-related .tx-related-card h3 { font-size: 17px; }
  .tx-related .tx-related-card-link { align-self: flex-start; margin-left: 50px; }
}
@media(prefers-reduced-motion:reduce) {
  .tx-related a.tx-related-card,.tx-related-art img,.tx-related-card-link i { transition: none; }
  .tx-related a.tx-related-card:hover,.tx-related-card:hover .tx-related-art img,.tx-related-card:hover .tx-related-card-link i { transform: none; }
}
