/* v1.0.74: compact RC.CODE entry; matches ROBOBOOM spacing with an RC red background. */
.rc-home .rc-code-promo {
  clear: both;
  background: #d72c2c;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  scroll-margin-top: 160px;
}
.rc-home .rc-code-promo-link {
  display: grid;
  grid-template-columns: 224px minmax(0,1fr);
  align-items: start;
  gap: 32px;
  width: calc(100% - 64px);
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 0;
  color: #fff;
  font-family: Arial, 'Microsoft YaHei', 'PingFang SC', sans-serif;
  text-shadow: none;
  text-decoration: none;
}
.rc-home .rc-code-promo-photo { min-width: 0; margin: 0; }
.rc-home .rc-code-promo-photo img { display: block; width: 100%; height: auto; border-radius: 8px; }
.rc-home .rc-code-promo-copy { min-width: 0; }
.rc-home .rc-code-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.rc-home .rc-code-promo h2 {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 128px;
  max-width: 100%;
  height: auto;
  margin: 0;
  background: transparent;
}
.rc-home .rc-code-promo h2 img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }
.rc-home .rc-code-description p {
  margin: 0;
  color: #fff;
  font-family: Arial, 'Microsoft YaHei', 'PingFang SC', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
.rc-home .rc-code-description > p[lang="zh-CN"] { margin-top: 5px; color: #fff5f2; font-size: 13px; }
.rc-home .rc-code-description .rc-code-tagline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 14px; margin: 0 0 10px; }
.rc-home .rc-code-tagline > span[lang="en"] { color: #fff; font-family: 'Trebuchet MS', Arial, sans-serif; font-size: 20px; font-weight: 700; line-height: 1.3; }
.rc-home .rc-code-tagline > span[lang="zh-CN"] { color: #fff5f2; font-size: 14px; font-weight: 400; line-height: 1.5; }
.rc-home .rc-code-entry {
  display: inline-flex;
  order: 2;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 1px;
}
.rc-home .rc-code-entry span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #c12626; font-size: 14px; font-weight: 400; line-height: 1; letter-spacing: 0; }
.rc-home .rc-code-promo-link:hover .rc-code-entry { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.rc-home .rc-code-promo-link:hover .rc-code-entry span { background: #fff; }
.rc-home .rc-code-promo-link:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (max-width: 1100px) {
  .rc-home .rc-code-promo { scroll-margin-top: 0; }
}
@media (max-width: 800px) {
  .rc-home .rc-code-promo-link { grid-template-columns: 180px minmax(0,1fr); gap: 25px; }
}
@media (max-width: 600px) {
  .rc-home .rc-code-promo-link { grid-template-columns: 112px minmax(0,1fr); width: calc(100% - 40px); max-width: 460px; gap: 18px 20px; padding: 24px 0; }
  .rc-home .rc-code-promo-copy { display: contents; }
  .rc-home .rc-code-promo-photo { grid-column: 1; grid-row: 1; }
  .rc-home .rc-code-heading { grid-column: 2; grid-row: 1; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; }
  .rc-home .rc-code-promo h2 { width: min(112px, 80%); }
  .rc-home .rc-code-description { grid-column: 1 / -1; grid-row: 2; }
  .rc-home .rc-code-tagline > span[lang="en"] { font-size: 19px; }
}
