.cm-social {
  box-sizing: border-box;
  padding: 22px 0 24px;
  border-block: 1px solid #e7dfdd;
  scroll-margin-top: 74px;
  color: #202020;
  font: 400 16px/1.5 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

.cm-social .cm-social-title { margin: 0 0 15px; font-size: clamp(22px, 3vw, 28px); line-height: 1.25; font-weight: 700; }
.cm-social-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cm-social-group { min-width: 0; padding: 14px; border: 1px solid #e7dfdd; border-radius: 12px; background: #faf8f7; }
.cm-social-platform { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 11px; }
.cm-social .cm-social-platform h3 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 700; }
.cm-social-platform a { color: #a60016; text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 13px; min-height: 28px; }
.cm-social a { -webkit-tap-highlight-color: transparent; }
.cm-social a:focus-visible { outline: 2px solid #a60016; outline-offset: 3px; }
.cm-social .cm-social-status { margin: 0; text-align: end; color: #655b59; font-size: 13px; }

.cm-social .cm-social-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; list-style: none; margin: 0; padding: 0; }
.cm-social-grid > li { min-width: 0; list-style: none; margin: 0; }
.cm-social .cm-social-card { box-sizing: border-box; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 1px solid #e9e2df; border-radius: 8px; background: #fff; color: #202020; text-align: start; text-decoration: none; font: inherit; }
.cm-social a.cm-social-card:hover { border-color: #a60016; color: #a60016; }
.cm-social-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #ebe5e3; }
.cm-social-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cm-social-action { position: absolute; inset: auto 6px 6px auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: #292124e8; font-size: 15px; }
.cm-social-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 8px 7px 9px; color: inherit; font-size: 13px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }

@media (min-width: 1021px) {
  .news-home #smv_Main:has(> .cm-social--desktop) { --cm-social-shift: 425px; padding-top: calc(3027px + var(--cm-social-shift)); }
  #smv_Main > .cm-social--desktop { position: absolute; top: 510px; left: 13px; right: 13px; z-index: 3; }
  #smv_Main:has(> .cm-social--desktop) > :is(#smv_con_44_43, #smv_con_50_17, #smv_con_72_30, #smv_con_84_53, #smv_con_106_40, #smv_con_108_3, #smv_con_113_11, #smv_con_114_53) { translate: 0 var(--cm-social-shift); }
}

@media (max-width: 1020px) {
  .cm-social--mobile { margin: 0 18px; padding-block: 22px; }
  .cm-social-groups { grid-template-columns: 1fr; gap: 12px; }
  .cm-social-group { padding: 10px; }
  .cm-social-platform { margin-bottom: 8px; }
  .cm-social .cm-social-grid { gap: 6px; }
}
