.cm-mobile {
  display: none;
}

.cm-secondary [hidden] {
  display: none !important;
}

.cm-secondary .w-imglist-img {
  display: block;
}

.cm-secondary .w-imglist-img:focus-visible {
  outline: 2px solid #d40012;
  outline-offset: -2px;
}

.cm-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px auto;
  padding: 0 8px;
}

.cm-pager-pages {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
}

.cm-pager button {
  min-width: 34px;
  min-height: 34px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #ddd;
  color: #242424;
  background: #fff;
  cursor: pointer;
  font: inherit;
}

.cm-pager button[aria-current="page"] {
  border-color: #c00010;
  color: #fff;
  background: #c00010;
}

.cm-pager button:disabled {
  color: #777;
  background: #f5f5f5;
  cursor: default;
}

.cm-secondary button:focus-visible,
.cm-secondary .cm-mobile a:focus-visible {
  outline: 2px solid #c00010;
  outline-offset: 2px;
}

.cm-contactus .cm-captcha-preview {
  display: inline-block;
  padding: 3px 6px;
  color: #555;
  background: #eee;
  font-size: 12px;
}

.cm-contactus .cm-preview-status {
  margin: 8px 0 0;
  color: #333;
  font-size: 14px;
}

.cm-contactus #mainContentWrapper .cm-preview-status {
  position: absolute;
  z-index: 3;
  padding: 7px 10px;
  background: #fff;
  border: 1px solid #d5d5d5;
}

.cm-desktop-map-link {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.cm-desktop-map-link a {
  display: block;
  padding: 6px 9px;
  color: #8d0010;
}

@media (max-width: 1220px) {
  html:has(body.cm-secondary), body.cm-secondary {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body.cm-secondary > #mainContentWrapper {
    display: none !important;
  }

  .cm-mobile {
    display: block;
    color: #202020;
    background: #fff;
    font: 400 16px/1.55 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  }

  .cm-mobile *, .cm-mobile *::before, .cm-mobile *::after {
    box-sizing: border-box;
  }

  .cm-mobile-header {
    display: flex;
    gap: 8px;
    min-height: 64px;
    padding: 9px clamp(14px, 4vw, 36px);
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #fff;
    background: #191919;
    border-top: 3px solid #e60012;
  }

  .cm-logo {
    display: block;
    width: clamp(119px, 34vw, 160px);
    padding: 8px 10px;
    border-radius: 3px;
    background: #e60012;
  }

  .cm-logo img {
    display: block;
    width: 100%;
  }

  .cm-mobile-controls {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .cm-mobile-header a, .cm-menu-button {
    color: #fff;
    font-size: 14px;
  }

  .cm-menu-button {
    min-height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .cm-mobile-header nav {
    display: grid;
    flex: 0 0 100%;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    border-top: 1px solid #414141;
  }

  .cm-mobile-header nav a {
    display: block;
    padding: 10px 2px;
  }

  .cm-mobile-header nav a[aria-current="page"] {
    color: #ff9b9f;
  }

  .cm-mobile-main {
    width: min(100%, 1000px);
    margin: 0 auto;
    padding: 25px clamp(14px, 4vw, 30px) 28px;
  }

  .cm-page-heading {
    margin-bottom: 20px;
    text-align: center;
  }

  .cm-page-heading h1 {
    margin: 0;
    color: #171717;
    font-size: clamp(25px, 6vw, 37px);
    font-weight: 700;
    line-height: 1.22;
  }

  .cm-page-heading p {
    margin: 5px 0 0;
    color: #555;
    font-size: 15px;
  }

  .cm-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    scroll-margin-top: 12px;
  }

  .cm-card {
    overflow: hidden;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
  }

  .cm-card > a {
    display: block;
    height: 100%;
    color: inherit;
  }

  .cm-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: #f4f4f4;
  }

  .cm-card-copy {
    padding: 9px 10px 11px;
  }

  .cm-card h2 {
    margin: 0;
    color: inherit;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.36;
    overflow-wrap: anywhere;
  }

  .cm-card p {
    margin: 4px 0 0;
    color: #555;
    font-size: 13px;
  }

  .cm-card a p {
    color: #ae0010;
  }

  .cm-gallery-note {
    margin: 11px 0 0;
    color: #4a4a4a;
    font-size: 14px;
  }

  .cm-mobile .cm-pager button {
    min-width: 39px;
    min-height: 44px;
  }

  .cm-contact-details p {
    margin: 0 0 12px;
  }

  .cm-contact-links {
    display: grid;
    gap: 5px;
    overflow-wrap: anywhere;
  }

  .cm-contact-links a, .cm-mobile .cm-map-link {
    color: #a9000e;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .cm-contact-map {
    margin: 19px 0;
  }

  .cm-contact-map iframe {
    display: block;
    width: 100%;
    height: clamp(250px, 58vw, 410px);
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f5f5f5;
  }

  .cm-mobile .cm-map-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .cm-contact-form {
    display: grid;
    gap: 9px;
  }

  .cm-contact-form input, .cm-contact-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid #bbb;
    border-radius: 4px;
    color: #202020;
    background: #fff;
    font: inherit;
  }

  .cm-contact-form input:disabled {
    background: #f4f4f4;
  }

  .cm-contact-form button {
    min-height: 44px;
    width: fit-content;
    padding: 8px 20px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #c00010;
    font: 650 15px/1.3 "Microsoft YaHei", "PingFang SC", sans-serif;
    cursor: pointer;
  }

  .cm-industrynews .cm-mobile-main {
    min-height: 188px;
  }

  .cm-mobile-footer {
    padding: 22px max(5%, calc((100% - 940px) / 2));
    color: #e7e7e7;
    background: #191919;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .cm-mobile-footer ul {
    display: grid;
    gap: 7px;
    margin: 0;
    list-style: none;
  }

  .cm-mobile-footer a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

@media (min-width: 600px) and (max-width: 1220px) {
  .cm-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cm-secondary .cm-title-card {
  display: grid;
  min-height: 100%;
  box-sizing: border-box;
  place-items: center;
  padding: 14px;
  border: 1px solid #e6e1df;
  background: #f7f4f3;
  color: #252525;
  font: 600 clamp(15px, 1.45vw, 22px)/1.4 "Microsoft YaHei", system-ui, sans-serif;
  text-align: center;
  overflow-wrap: anywhere;
}

.cm-secondary .cm-source-art img {
  object-fit: contain !important;
  background-color: #201b1f;
}

@media (max-width: 1220px) {
  .cm-mobile .cm-title-card {
    min-height: 112px;
  }
}

.cm-secondary .cm-portrait-art {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto minmax(0, .78fr);
  place-items: center;
  height: 100%;
  color: #fff4f8;
  background: radial-gradient(ellipse at 35% 20%, #744462, #3a253c 57%, #201827);
  text-align: center;
}

.cm-radioplaydubbing .cm-portrait-art {
  color: #f4f8dc;
  background: radial-gradient(ellipse at 25% 18%, #60774d, #2e4844 53%, #142934);
}

.cm-secondary .cm-portrait-art .cm-portrait-title {
  padding: 12px 14px;
  font: 650 28px/1.18 "Microsoft YaHei", system-ui, sans-serif;
  overflow-wrap: anywhere;
}

.cm-secondary .cm-portrait-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  background: transparent;
}

.cm-secondary .cm-card .cm-portrait-art {
  height: auto;
  aspect-ratio: 4 / 5;
}

.cm-secondary .cm-card .cm-portrait-title {
  font-size: clamp(16px, 4vw, 26px);
}
