/*
 * FINMO redesign — light header, used-car service page and Wuling lineup page.
 * Loaded after style.css; page layouts are scoped to their page templates.
 */

/* ------------------------------------------------------------------ */
/* Header (applies site-wide)                                          */
/* ------------------------------------------------------------------ */

.site-header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  color: #17181a;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 500;
}

/* The fixed header no longer takes space in the flow. */
body {
  padding-top: 84px !important;
}

body.admin-bar {
  padding-top: 116px !important;
}

.site-header__inner {
  justify-content: space-between;
  min-height: 84px;
  width: min(1680px, calc(100% - 80px));
}

.site-brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
}

.site-brand img {
  display: block;
  height: 38px;
  width: auto;
}

.site-nav__list {
  gap: 34px;
  height: 84px;
}

.site-nav__list > li {
  align-items: center;
  display: flex;
  height: 100%;
  position: relative;
}

.site-nav a,
.site-nav__parent,
.language-trigger {
  color: #2d2f33;
  font-size: 15px;
  font-weight: 500;
}

.site-nav__parent {
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  padding: 8px 0;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav__parent:hover,
.language-trigger:hover,
.language-menu a:hover {
  color: #da0e2c;
}

.site-nav a.is-active,
.site-nav__parent.is-active {
  color: #da0e2c;
}

.site-nav__list > li > a.is-active::after,
.site-nav__list > li > .site-nav__parent.is-active::after {
  background: #da0e2c;
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
}

.site-nav__sub {
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
  display: none;
  left: 50%;
  list-style: none;
  margin: 0;
  min-width: 156px;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
  z-index: 120;
}

.site-nav__list > li.has-submenu:hover > .site-nav__sub,
.site-nav__list > li.has-submenu:focus-within > .site-nav__sub {
  display: block;
}

.site-nav__sub a {
  color: #2d2f33;
  display: block;
  font-size: 14px;
  /* Fixed padding (not a percentage of the box) so the box can grow to fit
     long labels such as 重工装备与农业设备 without the text overflowing. */
  padding: 10px 22px;
  white-space: nowrap;
}

.site-nav__sub a:hover,
.site-nav__sub a.is-active {
  color: #da0e2c;
}

.language-menu {
  background: #fff;
  border: 1px solid #eaeaea;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  left: 30px;
  right: auto;
  top: 100%;
  transform: translateX(-50%);
}

.language-menu a {
  color: #2d2f33;
  font-size: 14px;
  padding-left: calc(50% - 30px);
  padding-right: 0;
}

.language-menu a:hover {
  background: #f7f7f8;
}

.consult-button {
  background: #da0e2c;
  border-radius: 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  padding: 0 24px;
}

.consult-button:hover {
  background: #bd0c26;
}

.nav-toggle {
  color: #17181a;
}

/* ------------------------------------------------------------------ */
/* Shared layout                                                       */
/* ------------------------------------------------------------------ */

body.page-template-template-used-cars,
body.page-template-template-wuling-lineup {
  background: #fff;
}

.page-template-template-used-cars .site-shell,
.page-template-template-wuling-lineup .site-shell {
  background: #fff;
}

.uc-main,
.wl-main {
  background: #fff;
  color: #17181a;
}

/* page1.png: 3840px canvas with 400px side margins -> 1518px content at 1920px.
   All content pages use the same side spacing. */
.uc-wrap {
  margin: 0 auto;
  width: min(1518px, calc(100% - 80px));
}

.uc-btn {
  align-items: center;
  background: #da0e2c;
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  padding: 14px 36px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.uc-btn:hover {
  background: #bd0c26;
  color: #fff;
}

.uc-title {
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin: 0;
  text-align: center;
}

.uc-title::after {
  background: #da0e2c;
  content: "";
  display: block;
  height: 3px;
  margin: 14px auto 0;
  width: 34px;
}

.uc-subtitle {
  color: #6b7078;
  font-size: 16px;
  margin: 18px 0 0;
  text-align: center;
}

.page-template-template-used-cars .site-footer,
.page-template-template-wuling-lineup .site-footer,
.page-template-template-hongli .site-footer,
.page-template-template-lithium .site-footer,
.page-template-template-jishi .site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  color: #8a8f98;
}

/* ------------------------------------------------------------------ */
/* Used cars page                                                      */
/* ------------------------------------------------------------------ */

.uc-hero {
  background: #fff;
  overflow: hidden;
  position: relative;
}

.uc-hero__img {
  display: block;
  height: auto;
  width: 100%;
}

.uc-hero__content {
  align-items: center;
  display: flex;
  inset: 0;
  position: absolute;
}

.uc-hero__inner {
  position: relative;
  z-index: 1;
}

.uc-hero__copy {
  max-width: 560px;
}

.uc-hero h1 {
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0 0 18px;
}

.uc-hero__lead {
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.25;
  margin: 0 0 16px;
}

.uc-hero__meta {
  color: #4b4f55;
  font-size: 16px;
  margin: 0 0 32px;
}

.uc-cards {
  padding-top: 56px;
}

.uc-cards__grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, 1fr);
}

.uc-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  color: inherit;
  display: block;
  text-decoration: none;
}

.uc-card img {
  aspect-ratio: 1.63;
  display: block;
  object-fit: cover;
  width: 100%;
}

.uc-card__label {
  background: #f7f8fa;
  display: block;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 10px;
  text-align: center;
}

.uc-process {
  padding: 92px 0 84px;
}

.uc-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
}

.uc-process__item {
  padding: 0 28px;
  position: relative;
  text-align: center;
}

.uc-process__item + .uc-process__item::before {
  background: #ececec;
  bottom: 6px;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 1px;
}

.uc-icon {
  color: #da0e2c;
  display: block;
  height: 64px;
  margin: 0 auto 20px;
  width: 64px;
}

.uc-icon svg {
  height: 100%;
  width: 100%;
}

.uc-process__item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.uc-process__item p {
  color: #8a8f98;
  font-size: 13px;
  margin: 0;
}

.uc-steps {
  background: #f4f5f7;
  padding: 84px 0;
}

.uc-steps__list {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 54px 0 0;
  padding: 0;
  position: relative;
}

.uc-steps__list::before {
  background: #da0e2c;
  content: "";
  height: 1px;
  /* Seven equal steps: start at the first circle's centre, end at the last. */
  left: calc(100% / 14);
  opacity: 0.55;
  position: absolute;
  right: calc(100% / 14);
  top: 22px;
}

.uc-steps__list li {
  flex: 1;
  position: relative;
  text-align: center;
  z-index: 1;
}

.uc-steps__num {
  align-items: center;
  background: #da0e2c;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  margin: 0 auto 16px;
  width: 44px;
}

.uc-steps__label {
  font-size: 16px;
  font-weight: 600;
}

.uc-steps__note {
  color: #8a8f98;
  font-size: 13px;
  margin: 42px 0 0;
  text-align: center;
}

.uc-brands {
  padding: 88px 0;
}

.uc-brands__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 48px;
}

.uc-brand {
  align-items: center;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  height: 110px;
  justify-content: center;
  padding: 18px 22px;
}

.uc-brand img {
  filter: grayscale(1);
  max-height: 52px;
  max-width: 100%;
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease;
  width: auto;
}

.uc-brand:hover img {
  filter: none;
  opacity: 1;
}

.uc-cta {
  background: #f4f5f7;
  padding: 92px 0;
  text-align: center;
}

.uc-cta h2 {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 0 0 14px;
}

.uc-cta p {
  color: #5b6068;
  font-size: 16px;
  margin: 0 0 32px;
}

/* ------------------------------------------------------------------ */
/* Wuling lineup page                                                  */
/* ------------------------------------------------------------------ */

.wl-hero {
  background: #fff;
  padding: 84px 0 56px;
}

.wl-eyebrow {
  color: #da0e2c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.wl-title {
  font-size: clamp(30px, 3.05vw, 44px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin: 0 0 14px;
}

.wl-lead {
  color: #6b7078;
  font-size: 17px;
  margin: 0 0 42px;
}

.wl-browse {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.wl-browse__btn {
  align-items: center;
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 104px;
  padding: 26px 32px;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.wl-browse__btn:hover {
  color: #fff;
  filter: brightness(1.06);
}

.wl-browse__btn--primary {
  background: #da0e2c;
}

.wl-browse__btn--dark {
  background: #2b2e33;
}

.wl-browse__btn strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.wl-browse__btn small {
  display: block;
  font-size: 13px;
  opacity: 0.85;
}

.wl-browse__arrow {
  flex: 0 0 auto;
  height: 34px;
  width: 34px;
}

.wl-category {
  background: #f4f5f7;
  padding: 56px 0 72px;
  scroll-margin-top: 90px;
}

.wl-category + .wl-category {
  padding-top: 40px;
}

.wl-category__head {
  align-items: flex-end;
  display: flex;
  gap: 18px;
  margin-bottom: 34px;
}

.wl-category__titles {
  border-left: 4px solid #da0e2c;
  padding-left: 14px;
  position: relative;
}

.wl-category__eyebrow {
  bottom: 100%;
  color: #da0e2c;
  display: block;
  font-size: 11px;
  font-weight: 600;
  left: 14px;
  letter-spacing: 2px;
  margin-bottom: 2px;
  position: absolute;
  white-space: nowrap;
}

.wl-category__titles h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.wl-category__note {
  color: #6b7078;
  font-size: 14px;
  padding-bottom: 3px;
}

.wl-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.wl-card {
  align-items: center;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 330px;
  padding: 26px 26px 24px;
  text-align: center;
}

.wl-card h3 {
  align-items: center;
  display: flex;
  font-size: 17px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.45;
  margin: 0;
  min-height: 50px;
  text-align: center;
}

.wl-card__media {
  align-items: center;
  display: flex;
  height: 190px;
  justify-content: center;
  margin: 10px 0;
  width: 100%;
}

.wl-card__media img {
  height: auto;
  max-height: 100%;
  max-width: 100%;
  mix-blend-mode: multiply;
  object-fit: contain;
  transform: scale(1);
  transition: transform 0.28s ease;
  width: auto;
}

.wl-card:hover .wl-card__media img,
.wl-card:focus-within .wl-card__media img {
  transform: scale(0.78);
}

.wl-card__actions {
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease 0.1s, transform 0.2s ease 0.1s;
}

.wl-card:hover .wl-card__actions,
.wl-card:focus-within .wl-card__actions {
  opacity: 1;
  transform: translateY(0);
}

.wl-card__actions a,
.wl-card__actions button {
  background: none;
  border: 1px solid #2b2e33;
  color: #2b2e33;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  padding: 8px 18px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.wl-card__actions a:hover,
.wl-card__actions button:hover {
  background: #2b2e33;
  color: #fff;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1100px) {
  .site-header__inner {
    width: calc(100% - 48px);
  }

  .site-nav__list {
    gap: 22px;
  }

  .uc-wrap {
    width: min(1240px, calc(100% - 56px));
  }
}

@media (max-width: 1024px) {
  .uc-cards__grid,
  .wl-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .uc-brands__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .uc-process__grid {
    gap: 44px 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .uc-process__item:nth-child(odd)::before {
    display: none;
  }

  .uc-steps__list {
    flex-wrap: wrap;
    gap: 32px 0;
  }

  .uc-steps__list li {
    flex: 0 0 33.333%;
  }

  .uc-steps__list::before {
    display: none;
  }

  .wl-browse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    min-height: 64px;
    width: calc(100% - 40px);
  }

  .site-brand img {
    height: 32px;
  }

  body {
    padding-top: 64px !important;
  }

  body.admin-bar {
    padding-top: 110px !important;
  }

  .site-nav__list {
    gap: 0;
    height: auto;
  }

  .site-nav__list > li {
    display: block;
    height: auto;
  }

  .site-nav a.is-active::after,
  .site-nav__parent.is-active::after {
    display: none;
  }

  .site-nav__sub {
    border: 0;
    box-shadow: none;
    display: block;
    left: auto;
    min-width: 0;
    padding: 0 0 0 16px;
    position: static;
    transform: none;
  }

  .site-nav__sub a {
    padding: 8px 0;
  }

  .site-nav__parent {
    padding: 10px 0;
  }

  .site-header__right {
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  }

  .consult-button {
    min-height: 44px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .uc-wrap {
    width: calc(100% - 40px);
  }
}

@media (max-width: 720px) {
  .uc-cards__grid,
  .uc-brands__grid,
  .uc-process__grid,
  .wl-grid {
    grid-template-columns: 1fr;
  }

  .uc-process__item + .uc-process__item::before {
    display: none;
  }

  .uc-steps__list li {
    flex-basis: 50%;
  }

  .uc-hero {
    display: flex;
    flex-direction: column;
  }

  .uc-hero__img {
    order: 2;
  }

  .uc-hero__content {
    order: 1;
    padding: 40px 0 28px;
    position: static;
  }

  .wl-hero {
    padding: 56px 0 40px;
  }

  .wl-browse__btn {
    padding: 22px 24px;
  }

  .wl-browse__btn strong {
    font-size: 21px;
  }

  .wl-category__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .wl-category__note {
    padding-bottom: 0;
    padding-left: 18px;
  }
}

@media (hover: none) {
  .wl-card__actions {
    opacity: 1;
  }
}

/* ------------------------------------------------------------------ */
/* Configuration modal                                                 */
/* ------------------------------------------------------------------ */

body.cfg-modal-open {
  overflow: hidden;
}

.cfg-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1000;
}

.cfg-modal[hidden] {
  display: none;
}

.cfg-modal__backdrop {
  background: rgba(10, 10, 10, 0.55);
  inset: 0;
  position: absolute;
}

.cfg-modal__dialog {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 900px);
  overflow: hidden;
  position: relative;
  width: min(1120px, 100%);
}

.cfg-modal__head {
  align-items: center;
  border-bottom: 1px solid #eee;
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
  justify-content: space-between;
  padding: 20px 28px;
}

.cfg-modal__head h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
}

.cfg-modal__close {
  background: none;
  border: 0;
  color: #8a8f98;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  padding: 0 4px;
}

.cfg-modal__close:hover {
  color: #da0e2c;
}

.cfg-modal__tabs {
  border-bottom: 1px solid #eee;
  display: flex;
  flex: 0 0 auto;
  gap: 28px;
  overflow-x: auto;
  padding: 0 28px;
}

.cfg-modal__tabs[hidden] {
  display: none;
}

.cfg-tab {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #5b6068;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 0;
  white-space: nowrap;
}

.cfg-tab:hover {
  color: #17181a;
}

.cfg-tab.is-active {
  border-bottom-color: #da0e2c;
  color: #da0e2c;
}

.cfg-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0 28px 28px;
}

.cfg-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
}

.cfg-table {
  border-collapse: collapse;
  min-width: 640px;
  width: 100%;
}

.cfg-th {
  background: #fff;
  border-bottom: 1px solid #eee;
  color: #2d2f33;
  font-size: 13px;
  font-weight: 700;
  padding: 12px;
  position: sticky;
  text-align: center;
  top: 0;
  white-space: nowrap;
  z-index: 2;
}

.cfg-th--label {
  left: 0;
  text-align: left;
  z-index: 3;
}

.cfg-td {
  border-bottom: 1px solid #f2f2f2;
  color: #333;
  font-size: 13px;
  font-weight: 400;
  padding: 10px 12px;
  text-align: center;
  vertical-align: middle;
}

.cfg-td--label {
  background: #fff;
  color: #4b4f55;
  font-weight: 500;
  left: 0;
  position: sticky;
  text-align: left;
  white-space: nowrap;
  z-index: 1;
}

.cfg-row--section td {
  background: #f4f5f7;
  color: #17181a;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 12px;
  text-align: left;
}

.cfg-row--price .cfg-td {
  background: #fff7f8;
  color: #da0e2c;
  font-weight: 700;
}

.cfg-mark--yes {
  color: #da0e2c;
}

.cfg-mark--no,
.cfg-mark--none {
  color: #c3c6cb;
}

.cfg-mark--opt {
  color: #8a8f98;
}

.cfg-notes {
  color: #8a8f98;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 16px;
}

.cfg-loading,
.cfg-empty {
  color: #8a8f98;
  padding: 48px 0;
  text-align: center;
}

@media (max-width: 720px) {
  .cfg-modal {
    padding: 0;
  }

  .cfg-modal__dialog {
    border-radius: 0;
    height: 100%;
    max-height: 100vh;
    width: 100%;
  }

  .cfg-modal__head {
    padding: 16px 18px;
  }

  .cfg-modal__head h2 {
    font-size: 18px;
  }

  .cfg-modal__tabs {
    gap: 20px;
    padding: 0 18px;
  }

  .cfg-modal__body {
    padding: 0 18px 24px;
  }

  .cfg-th,
  .cfg-td {
    padding: 8px 10px;
  }
}

/* ------------------------------------------------------------------ */
/* Other products pages (Hongli / lithium)                             */
/* ------------------------------------------------------------------ */

body.page-template-template-hongli,
body.page-template-template-lithium {
  background: #fff;
}

.op-main {
  background: #fff;
  color: #17181a;
}

.op-hero {
  background: #0a0a0a;
  overflow: hidden;
  position: relative;
}

.op-hero__img {
  display: block;
  height: auto;
  width: 100%;
}

.op-hero__overlay {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.84) 0%,
    rgba(0, 0, 0, 0.55) 38%,
    rgba(0, 0, 0, 0.1) 76%,
    rgba(0, 0, 0, 0) 100%
  );
  inset: 0;
  position: absolute;
}

.op-hero__content {
  align-items: center;
  display: flex;
  inset: 0;
  position: absolute;
}

.op-hero__inner {
  position: relative;
  z-index: 1;
}

.op-hero h1 {
  color: #fff;
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0 0 16px;
}

.op-hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  max-width: 780px;
}

.op-hero__eyebrow {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  margin: 0 0 14px;
}

.op-intro {
  background: #fff;
  padding: 64px 0 56px;
}

.op-intro__eyebrow {
  color: #da0e2c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  margin: 0 0 14px;
}

.op-intro__title {
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 0 18px;
}

.op-intro__lead {
  color: #6b7078;
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
  max-width: 1450px;
}

.jishi-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.jishi-card {
  background: #fff;
  padding: 40px 40px 34px;
}

.jishi-card__media {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.jishi-card__media img {
  display: block;
  height: auto;
  max-width: 100%;
  width: 78%;
}

.jishi-card__head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.jishi-card h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 0;
}

.jishi-card p {
  color: #6b7078;
  font-size: 15px;
  line-height: 1.75;
  margin: 10px 0 0;
}

.jishi-card__config {
  background: #da0e2c;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  margin-top: 0;
  opacity: 0;
  padding: 10px 20px;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.jishi-card:hover .jishi-card__config,
.jishi-card:focus-within .jishi-card__config {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.jishi-card__config:hover {
  background: #bd0c26;
}

@media (hover: none) {
  .jishi-card__config {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

.op-card__config-inline {
  background: transparent;
  border: 1px solid #da0e2c;
  border-radius: 3px;
  color: #da0e2c;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 12px;
  margin-top: 10px;
  padding: 7px 14px;
}

.op-card__config-inline:hover {
  background: #da0e2c;
  color: #fff;
}

@media (max-width: 860px) {
  .jishi-grid {
    grid-template-columns: 1fr;
  }

  .jishi-card {
    padding: 28px;
  }

  .jishi-card__media {
    height: 220px;
  }
}

.op-catalog {
  background: #f4f5f7;
  padding: 56px 0 80px;
}

.op-category + .op-category {
  margin-top: 56px;
}

.op-cat-head {
  border-left: 4px solid #da0e2c;
  margin-bottom: 28px;
  padding-left: 14px;
}

.op-cat-eyebrow {
  color: #da0e2c;
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 2px;
}

.op-cat-head h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.op-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.op-card {
  align-items: center;
  background: #fff;
  display: flex;
  gap: 18px;
  min-height: 132px;
  padding: 20px;
  position: relative;
}

.op-card__thumb {
  align-items: center;
  background: #f7f8fa;
  display: flex;
  flex: 0 0 110px;
  height: 84px;
  justify-content: center;
  overflow: hidden;
}

.op-card__thumb img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.op-card--hongli .op-card__thumb {
  background: #f4f5f7;
  border-radius: 12px;
  height: auto;
  padding: 14px 0;
}

.op-card--hongli .op-card__thumb img {
  border-radius: 0;
  display: block;
  height: auto;
  width: 100%;
}

.op-card__info {
  flex: 1 1 auto;
  min-width: 0;
}

.op-card__kicker {
  color: #6b7078;
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}

.op-card h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 0;
}

.op-card__config {
  background: #da0e2c;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  padding: 10px 18px;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.op-card:hover .op-card__config,
.op-card:focus-within .op-card__config {
  opacity: 1;
}

.op-card__config:hover {
  background: #bd0c26;
}

.op-grid--lithium {
  grid-template-columns: repeat(4, 1fr);
}

.op-card--lithium {
  align-items: stretch;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  padding: 0;
}

.op-card--lithium .op-card__thumb {
  align-items: center;
  background: #fff;
  display: flex;
  height: 250px;
  justify-content: center;
  overflow: hidden;
  padding: 22px;
  width: 100%;
}

.op-card--lithium .op-card__thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.op-card--lithium:hover .op-card__thumb img {
  transform: scale(1.08);
}

.op-card--lithium .op-card__info {
  align-items: center;
  background: #fff;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 18px 20px 24px;
  transition: background 0.25s ease;
  width: 100%;
}

.op-card--lithium:hover .op-card__info {
  background: #da0e2c;
}

.op-card__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.op-card__series {
  color: #8a8f98;
  display: block;
  font-size: 12px;
  letter-spacing: 0.2px;
}

.op-card--lithium h3 {
  color: #17181a;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 4px 0 0;
  transition: color 0.25s ease;
}

.op-card--lithium:hover .op-card__series,
.op-card--lithium:hover h3 {
  color: #fff;
}

.op-card__arrow {
  align-items: center;
  color: #fff;
  display: flex;
  flex: 0 0 auto;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.op-card__arrow svg {
  height: 26px;
  width: 26px;
}

.op-card--lithium:hover .op-card__arrow {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .op-grid--lithium {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .op-grid--lithium {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .op-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .op-grid {
    grid-template-columns: 1fr;
  }

  .op-hero {
    display: flex;
    flex-direction: column;
  }

  .op-hero__img {
    order: 2;
  }

  .op-hero__content {
    order: 1;
    padding: 40px 0 32px;
    position: static;
  }

  .op-hero__overlay {
    display: none;
  }

  .op-hero h1 {
    font-size: 34px;
  }

  .op-cat-head h2 {
    font-size: 26px;
  }

  .op-card {
    min-height: 112px;
  }
}

@media (hover: none) {
  .op-card__config {
    opacity: 1;
  }
}

/* Product parameter modal */

.pm-section {
  border-left: 3px solid #da0e2c;
  color: #17181a;
  font-size: 15px;
  font-weight: 700;
  margin: 24px 0 10px;
  padding-left: 10px;
}

.pm-section:first-child {
  margin-top: 16px;
}

.pm-row {
  border-bottom: 1px solid #f2f2f2;
  display: grid;
  gap: 18px;
  grid-template-columns: 250px 1fr;
  padding: 9px 0;
}

.pm-row__label {
  color: #6b7078;
  font-size: 13px;
}

.pm-row__value {
  color: #333;
  font-size: 13px;
  line-height: 1.65;
}

.pm-row--wide {
  grid-template-columns: 1fr;
}

.pm-empty {
  color: #8a8f98;
  padding: 36px 0;
  text-align: center;
}

@media (max-width: 720px) {
  .pm-row {
    gap: 2px;
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ */
/* Wuling B2B page                                                     */
/* ------------------------------------------------------------------ */

body.page-template-template-wuling-b2b {
  background: #fff;
}

.page-template-template-wuling-b2b .site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  color: #8a8f98;
}

.b2b-main {
  background: #fff;
  color: #17181a;
}

.b2b-hero {
  background: #eef3f8;
  overflow: hidden;
  position: relative;
}

.b2b-hero__img {
  display: block;
  height: auto;
  width: 100%;
}

.b2b-hero__content {
  align-items: center;
  display: flex;
  inset: 0;
  position: absolute;
}

.b2b-hero__inner {
  position: relative;
  z-index: 1;
}

.b2b-eyebrow {
  color: #da0e2c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  margin: 0 0 14px;
}

.b2b-hero h1 {
  font-size: clamp(38px, 3.4vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0 0 16px;
}

.b2b-lead {
  color: #4b4f55;
  font-size: 18px;
  margin: 0 0 28px;
}

.b2b-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.b2b-btn {
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  text-decoration: none;
}

.b2b-btn--primary {
  background: #da0e2c;
  color: #fff;
}

.b2b-btn--primary:hover {
  background: #bd0c26;
  color: #fff;
}

.b2b-btn--ghost {
  background: #fff;
  border: 1px solid #d9dde3;
  color: #17181a;
}

.b2b-btn--ghost:hover {
  border-color: #da0e2c;
  color: #da0e2c;
}

.b2b-section {
  padding: 56px 0;
}

.b2b-section--gray {
  background: #f4f5f7;
}

.b2b-head {
  border-left: 4px solid #da0e2c;
  margin-bottom: 28px;
  padding-left: 14px;
}

.b2b-head h2 {
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 0 0 4px;
}

.b2b-head__en {
  color: #da0e2c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
}

.b2b-levels {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.b2b-level {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  border-top: 3px solid #da0e2c;
  padding: 26px 24px;
}

.b2b-level__icon {
  display: block;
  height: 44px;
  margin-bottom: 14px;
  width: 44px;
}

.b2b-level h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 2px;
}

.b2b-level__en {
  color: #8a8f98;
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  margin-bottom: 10px;
}

.b2b-level p {
  color: #5b6068;
  font-size: 14px;
  margin: 0 0 16px;
}

.b2b-level ul {
  border-top: 1px solid #f0f0f0;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
}

.b2b-level li {
  align-items: center;
  color: #333;
  display: flex;
  font-size: 14px;
  gap: 10px;
}

.b2b-check {
  flex: 0 0 18px;
  height: 18px;
  width: 18px;
}

.b2b-note {
  color: #8a8f98;
  font-size: 13px;
  margin: 22px 0 0;
}

.b2b-note--center {
  text-align: center;
}

.b2b-support {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, 1fr);
}

.b2b-support__item {
  background: #fff;
  padding: 26px 20px;
  text-align: center;
}

.b2b-support__item img {
  display: block;
  height: 60px;
  margin: 0 auto 14px;
  width: 60px;
}

.b2b-support__item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.b2b-support__item p {
  color: #6b7078;
  font-size: 13px;
  margin: 0;
}

.b2b-checklist {
  column-gap: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.b2b-checklist__item {
  align-items: center;
  border-bottom: 1px solid #eee;
  color: #333;
  display: flex;
  font-size: 15px;
  gap: 12px;
  padding: 16px 0;
}

.b2b-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 44px;
  position: relative;
}

.b2b-steps::before {
  background: #da0e2c;
  content: "";
  height: 1px;
  /* Start at the first circle's centre and end at the last one. */
  left: calc(100% / 12);
  opacity: 0.55;
  position: absolute;
  right: calc(100% / 12);
  top: 22px;
}

.b2b-step {
  flex: 1;
  position: relative;
  text-align: center;
  z-index: 1;
}

.b2b-step__num {
  align-items: center;
  background: #da0e2c;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  margin: 0 auto 14px;
  width: 44px;
}

.b2b-step__label {
  font-size: 15px;
  font-weight: 600;
}

.b2b-apply {
  background: #fff;
  border: 1px solid #f2c7cd;
  border-radius: 8px;
  overflow: hidden;
}

.b2b-apply__main {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.b2b-apply__left {
  align-items: flex-start;
  border-right: 1px solid #f7d9dd;
  display: flex;
  gap: 20px;
  padding: 28px;
}

.b2b-doc {
  flex: 0 0 64px;
  height: 80px;
  width: 64px;
}

.b2b-apply__left h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
}

.b2b-apply__left p {
  color: #6b7078;
  font-size: 13px;
  margin: 0 0 16px;
}

.b2b-apply__right {
  padding: 28px;
}

.b2b-apply__label {
  color: #6b7078;
  font-size: 13px;
  margin: 0 0 6px;
}

.b2b-apply__email {
  color: #da0e2c;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  text-decoration: none;
}

.b2b-apply__email:hover {
  text-decoration: underline;
}

.b2b-apply__hint {
  color: #6b7078;
  font-size: 13px;
  margin: 10px 0 0;
}

.b2b-apply__flow {
  align-items: center;
  background: #fff5f6;
  display: flex;
  gap: 14px;
  justify-content: center;
  padding: 16px 24px;
}

.b2b-flow__item {
  align-items: center;
  color: #333;
  display: flex;
  font-size: 13px;
  gap: 8px;
}

.b2b-flow__item img {
  height: 24px;
  width: 24px;
}

.b2b-flow__arrow {
  color: #c3c6cb;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .b2b-levels {
    grid-template-columns: repeat(2, 1fr);
  }

  .b2b-support {
    grid-template-columns: repeat(3, 1fr);
  }

  .b2b-checklist {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .b2b-hero {
    display: flex;
    flex-direction: column;
  }

  .b2b-hero__img {
    order: 2;
  }

  .b2b-hero__content {
    order: 1;
    padding: 48px 0 32px;
    position: static;
  }

  .b2b-levels {
    grid-template-columns: 1fr;
  }

  .b2b-support {
    grid-template-columns: repeat(2, 1fr);
  }

  .b2b-checklist {
    grid-template-columns: 1fr;
  }

  .b2b-apply__main {
    grid-template-columns: 1fr;
  }

  .b2b-apply__left {
    border-bottom: 1px solid #f7d9dd;
    border-right: 0;
  }

  .b2b-steps {
    flex-wrap: wrap;
    gap: 28px 0;
  }

  .b2b-steps::before {
    display: none;
  }

  .b2b-step {
    flex: 0 0 33.333%;
  }

  .b2b-apply__flow {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .b2b-support {
    grid-template-columns: 1fr;
  }

  .b2b-step {
    flex-basis: 50%;
  }

  .b2b-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* ------------------------------------------------------------------ */
/* RTL and language-specific adjustments                               */
/* ------------------------------------------------------------------ */

/* Mirror the hero photos so the light area sits beside the RTL text. */
[dir="rtl"] .uc-hero__img,
[dir="rtl"] .op-hero__img,
[dir="rtl"] .b2b-hero__img {
  transform: scaleX(-1);
}

[dir="rtl"] .language-menu {
  left: auto;
  right: 30px;
  transform: translateX(50%);
}

[dir="rtl"] .language-menu a {
  padding-left: 0;
  padding-right: calc(50% - 30px);
}

[dir="rtl"] .wl-browse__arrow,
[dir="rtl"] .b2b-flow__arrow {
  transform: scaleX(-1);
}

/* Longer Latin/Arabic B2B headlines need a smaller size to clear the photo. */
.lang-en .b2b-hero h1,
.lang-fr .b2b-hero h1 {
  font-size: clamp(28px, 2vw, 34px);
}

.lang-ar .b2b-hero h1 {
  font-size: clamp(28px, 2.1vw, 36px);
}

/* ------------------------------------------------------------------ */
/* Contact page                                                        */
/* ------------------------------------------------------------------ */

body.page-template-template-contact {
  background: #fff;
}

.page-template-template-contact .site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  color: #8a8f98;
}

.ct-main {
  background: #fff;
  color: #17181a;
}

.ct-hero {
  background: #f6f2ec;
  overflow: hidden;
  position: relative;
}

.ct-hero__img {
  display: block;
  height: auto;
  width: 100%;
}

.ct-hero__content {
  align-items: center;
  display: flex;
  inset: 0;
  position: absolute;
}

.ct-hero__inner {
  position: relative;
  z-index: 1;
}

.ct-eyebrow {
  color: #da0e2c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  margin: 0 0 16px;
}

.ct-hero h1 {
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0 0 18px;
}

.ct-lead {
  color: #4b4f55;
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
  max-width: 900px;
}

.ct-info {
  padding: 0 0 90px;
}

.ct-info__grid {
  align-items: center;
  display: flex;
  padding-left: max(calc((100% - 1518px) / 2), 40px);
}

.ct-info__left {
  flex: 0 0 41%;
  padding-right: 60px;
}

.ct-info__map {
  flex: 1 1 auto;
  min-width: 0;
}

.ct-company {
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 0 0 36px;
}

.ct-row {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.ct-row:last-child {
  margin-bottom: 0;
}

.ct-row__icon {
  flex: 0 0 56px;
  height: 56px;
  width: 56px;
}

.ct-row__label {
  color: #6b7078;
  font-size: 15px;
  margin: 2px 0 4px;
}

.ct-row__value {
  color: #17181a;
  display: block;
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  text-decoration: none;
}

a.ct-row__value:hover {
  color: #da0e2c;
}

.ct-row__body {
  flex: 1 1 auto;
  min-width: 0;
}

/* Phone / WhatsApp and the three email addresses sit in equal columns so the
   fields line up vertically, as in the design. */
.ct-row__fields {
  column-gap: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 6px;
}

.ct-row__field {
  min-width: 0;
}

/* Values such as the WhatsApp number and email addresses must stay on one
   line; they may bleed into the column gap but never wrap. */
.ct-row__fields .ct-row__value {
  /* LTR values (emails, +852 numbers) must not be reordered in RTL pages;
     plaintext keeps them LTR while the cell still aligns to the RTL start. */
  unicode-bidi: plaintext;
  white-space: nowrap;
}

@media (max-width: 1360px) {
  .ct-row__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .ct-row__fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ct-info__map img {
  display: block;
  height: auto;
  width: 100%;
}

@media (max-width: 1024px) {
  .ct-info__grid {
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .ct-hero {
    display: flex;
    flex-direction: column;
  }

  .ct-hero__img {
    order: 2;
  }

  .ct-hero__content {
    order: 1;
    padding: 48px 0 36px;
    position: static;
  }

  .ct-info {
    padding: 48px 0 64px;
  }

  .ct-info__grid {
    display: block;
    padding-left: 20px;
    padding-right: 20px;
  }

  .ct-info__left {
    padding-right: 0;
  }
}

[dir="rtl"] .ct-hero__img {
  transform: scaleX(-1);
}

/* ------------------------------------------------------------------ */
/* About page                                                          */
/* ------------------------------------------------------------------ */

body.page-template-template-about {
  background: #fff;
}

.page-template-template-about .site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  color: #8a8f98;
}

.ab-main {
  background: #fff;
  color: #17181a;
}

.ab-hero {
  background: #eef4f8;
  overflow: hidden;
  position: relative;
}

.ab-hero__img {
  display: block;
  height: auto;
  width: 100%;
}

.ab-hero__content {
  align-items: center;
  display: flex;
  inset: 0;
  position: absolute;
}

.ab-hero__inner {
  position: relative;
  z-index: 1;
}

.ab-eyebrow {
  color: #da0e2c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  margin: 0 0 16px;
}

.ab-hero h1 {
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0 0 18px;
}

.ab-lead {
  color: #4b4f55;
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
  max-width: 1400px;
}

.ab-content {
  padding: 56px 0 90px;
}

.ab-content p {
  color: #4b4f55;
  font-size: 17px;
  line-height: 1.95;
  margin: 0 0 28px;
}

.ab-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .ab-hero {
    display: flex;
    flex-direction: column;
  }

  .ab-hero__img {
    order: 2;
  }

  .ab-hero__content {
    order: 1;
    padding: 48px 0 36px;
    position: static;
  }

  .ab-content {
    padding: 40px 0 64px;
  }

  .ab-content p {
    font-size: 16px;
  }
}

[dir="rtl"] .ab-hero__img {
  transform: scaleX(-1);
}

/* ------------------------------------------------------------------ */
/* Homepage                                                            */
/* ------------------------------------------------------------------ */

body.page-template-template-home,
body.home {
  background: #fff;
}

body.page-template-template-home .site-footer,
body.home .site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  color: #8a8f98;
}

.hm-main {
  background: #fff;
  color: #17181a;
}

.hm-hero {
  background: #eaf3fa;
  overflow: hidden;
  position: relative;
}

.hm-hero__img {
  display: block;
  height: auto;
  width: 100%;
}

.hm-hero__content {
  align-items: center;
  display: flex;
  inset: 0;
  position: absolute;
}

.hm-hero__inner {
  position: relative;
  z-index: 1;
}

.hm-eyebrow {
  color: #da0e2c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  margin: 0 0 18px;
}

.hm-hero h1 {
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin: 0 0 18px;
}

.hm-lead {
  color: #4b4f55;
  font-size: 18px;
  margin: 0 0 28px;
}

.hm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hm-btn {
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  text-decoration: none;
}

.hm-btn--primary {
  background: #da0e2c;
  color: #fff;
}

.hm-btn--primary:hover {
  background: #bd0c26;
  color: #fff;
}

.hm-btn--ghost {
  background: #fff;
  border: 1px solid #d9dde3;
  color: #17181a;
}

.hm-btn--ghost:hover {
  border-color: #da0e2c;
  color: #da0e2c;
}

.hm-btn--outline {
  background: #fff;
  border: 1px solid #d9dde3;
  color: #333;
}

.hm-btn--outline:hover {
  border-color: #da0e2c;
  color: #da0e2c;
}

.hm-section {
  padding: 56px 0;
}

.hm-gray {
  background: #f4f5f7;
}

.hm-head {
  border-left: 4px solid #da0e2c;
  margin-bottom: 32px;
  padding-left: 14px;
}

.hm-head h2 {
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 0 0 4px;
}

.hm-head__en {
  color: #da0e2c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
}

.hm-head-row {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.hm-head-row .hm-head {
  margin-bottom: 0;
}

.hm-head__link {
  color: #da0e2c;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.hm-head__link:hover {
  text-decoration: underline;
}

.hm-center {
  margin-top: 32px;
  text-align: center;
}

.hm-levels {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.hm-level {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  border-top: 3px solid #da0e2c;
  color: inherit;
  padding: 26px 24px;
  text-decoration: none;
}

.hm-level__icon {
  display: block;
  height: 44px;
  margin-bottom: 14px;
  width: 44px;
}

.hm-level h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 2px;
}

.hm-level__en {
  color: #8a8f98;
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  margin-bottom: 10px;
}

.hm-level p {
  color: #5b6068;
  font-size: 14px;
  margin: 0;
}

.hm-cars {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}

.hm-car {
  background: #fff;
  color: inherit;
  display: block;
  padding: 22px 18px 18px;
  text-decoration: none;
}

.hm-car__label {
  color: #8a8f98;
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  text-align: center;
}

.hm-car h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  min-height: 44px;
  text-align: center;
}

.hm-car__media {
  align-items: center;
  display: flex;
  height: 150px;
  justify-content: center;
}

.hm-car__media img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.hm-car:hover .hm-car__media img {
  transform: scale(0.94);
}

.hm-others {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.hm-other {
  background: #fff;
  color: inherit;
  display: block;
  padding: 22px 22px 24px;
  text-decoration: none;
}

.hm-other__media {
  align-items: center;
  background: #f4f5f7;
  display: flex;
  height: 200px;
  justify-content: center;
  margin-bottom: 16px;
}

.hm-other__media img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.hm-other h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
}

.hm-other p {
  color: #6b7078;
  font-size: 13px;
  margin: 0 0 12px;
}

.hm-other__link {
  color: #da0e2c;
  font-size: 14px;
  font-weight: 600;
}

.hm-used {
  background: #fff;
  color: #17181a;
  padding: 64px 0 72px;
}

.hm-used__title {
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 800;
  margin: 0;
  text-align: center;
}

.hm-used__title::after {
  background: #da0e2c;
  content: "";
  display: block;
  height: 3px;
  margin: 12px auto 0;
  width: 32px;
}

.hm-used__sub {
  color: #6b7078;
  font-size: 16px;
  margin: 20px 0 40px;
  text-align: center;
}

.hm-used__cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.hm-used__card img {
  aspect-ratio: 1.63;
  display: block;
  object-fit: cover;
  width: 100%;
}

.hm-used__card span {
  color: #17181a;
  display: block;
  font-size: 17px;
  font-weight: 600;
  padding-top: 14px;
  text-align: center;
}

.hm-used__process {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  margin: 48px 0 36px;
}

.hm-used__step {
  padding: 0 20px;
  position: relative;
  text-align: center;
}

.hm-used__step + .hm-used__step::before {
  background: #eee;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 1px;
}

.hm-used__icon {
  color: #da0e2c;
  display: block;
  height: 48px;
  margin: 0 auto 14px;
  width: 48px;
}

.hm-used__icon svg {
  height: 100%;
  width: 100%;
}

.hm-used__step h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.hm-used__step p {
  color: #8a8f98;
  font-size: 13px;
  margin: 0;
}

.hm-about {
  background: #f4f5f7;
  padding: 64px 0 72px;
  text-align: center;
}

.hm-about h2 {
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 800;
  margin: 0;
}

.hm-about h2::after {
  background: #da0e2c;
  content: "";
  display: block;
  height: 3px;
  margin: 12px auto 0;
  width: 32px;
}

.hm-about p {
  color: #6b7078;
  font-size: 16px;
  margin: 20px 0 28px;
}

@media (max-width: 1100px) {
  .hm-cars {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-levels {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-others {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hm-hero {
    display: flex;
    flex-direction: column;
  }

  .hm-hero__img {
    order: 2;
  }

  .hm-hero__content {
    order: 1;
    padding: 48px 0 32px;
    position: static;
  }

  .hm-section {
    padding: 40px 0;
  }

  .hm-used {
    padding: 48px 0 56px;
  }

  .hm-used__cards {
    grid-template-columns: 1fr;
  }

  .hm-used__process {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .hm-used__step + .hm-used__step::before {
    display: none;
  }

  .hm-about {
    padding: 48px 0 56px;
  }
}

@media (max-width: 600px) {
  .hm-cars,
  .hm-levels,
  .hm-others {
    grid-template-columns: 1fr;
  }

  .hm-head-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hm-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

[dir="rtl"] .hm-hero__img {
  transform: scaleX(-1);
}
