/*
 * Header positioning is deliberately isolated from the visual stylesheet.
 * Blocksy is not responsible for this custom header, so use a fixed viewport
 * layer rather than relying on its sticky-header JavaScript.
 */
.elecar-header {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 2147483000 !important;
}

.elecar-site {
  padding-top: 82px !important;
}

/* WordPress admin toolbar is 32px on desktop and 46px on small screens. */
body.admin-bar .elecar-header {
  top: 32px !important;
}

body.admin-bar .elecar-site {
  padding-top: 114px !important;
}

/* Final brand and typography alignment with the footer identity. */
body,
.elecar-site,
.elecar-site * {
  font-family: Georgia, serif !important;
}

.elecar-brand-title a::before {
  content: "驿尔凯*1873" !important;
  font-family: Georgia, serif !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  letter-spacing: .045em !important;
  background: linear-gradient(90deg, #C9A96E 0 55%, #3d433d 55% 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.elecar-brand-title a::after {
  content: "驿尔凯电动汽车" !important;
  font-family: Georgia, serif !important;
  color: #737970 !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

/* The reference header has no rule beneath the navigation bar. */
.elecar-header-row,
.elecar-nav {
  border-bottom: 0 !important;
}

/* Desktop navigation typography. */
.elecar-nav-item > a,
.elecar-nav-item > span {
  font-size: 17px !important;
}

/* Shared warm-brown interaction tone for navigation and submenu cards. */
.elecar-nav-item > a:hover,
.elecar-nav-item > span:hover {
  color: #C9A96E !important;
}

.elecar-language a:hover,
.elecar-language a:focus-visible {
  color: #C9A96E !important;
  border-color: #C9A96E !important;
  outline: 0;
}

.elecar-submenu a:hover {
  color: #fff !important;
  background: #C9A96E !important;
  border-color: #C9A96E !important;
}

/* Home document area. */
.elecar-home-section {
  min-height: 0 !important;
  padding-bottom: 0 !important;
}

/* Restore the light footer treatment. */
.elecar-footer {
  background: #fff !important;
  color: #2c342b !important;
  border-top: 1px solid #dfe4da !important;
}

.elecar-footer h3 { color: #172018 !important; }
.elecar-footer p { color: #596457 !important; }
.elecar-footer a { color: inherit !important; }
.elecar-footer a:hover { color: #C9A96E !important; }
.elecar-contact-heading,
.elecar-contact-heading:hover {
  cursor: default;
  color: #C9A96E !important;
}
.elecar-footer-email { color: #C9A96E !important; }
.elecar-footer > div:nth-child(2) h3,
.elecar-footer > div:nth-child(4) h3 {
  color: #C9A96E !important;
}

/* Only the column headings use brown; their links remain body text color. */
.elecar-footer > div:nth-child(2) a,
.elecar-footer > div:nth-child(4) p,
.elecar-footer > div:nth-child(4) a {
  color: #596457 !important;
}

.elecar-footer > div:nth-child(2) a:hover,
.elecar-footer > div:nth-child(3) a:hover,
.elecar-footer > div:nth-child(4) a:hover {
  color: #C9A96E !important;
}

/* The title-less Products/Technology/Travel/Auto Club column aligns with
 * the neighbouring columns' heading block. */
.elecar-footer-links-plain {
  padding-top: 30px !important;
}
.elecar-footer-mark { color: #1a2419 !important; }
.elecar-footer-mark span { color: #C9A96E !important; }
.elecar-copyright { border-top-color: #dfe4da !important; }
.elecar-copyright p { color: #596457 !important; }

/* Qingming Riverside panorama: increase the current display height by half. */
.elecar-qingming {
  height: 323px !important;
}

/*
 * PDF.js renders every source page as a bitmap canvas. The document area is
 * content-sized: no iframe, no native PDF toolbar and no nested scrollbar.
 */
.elecar-doc-frame,
.elecar-home-section .elecar-doc-frame {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
}

.elecar-doc-pdf {
  display: flex;
  width: 100%;
  min-height: 46px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: visible;
  user-select: none;
  -webkit-user-drag: none;
}

.elecar-pdf-page {
  position: relative;
  display: block;
  flex: 0 0 auto;
  min-height: 46px;
  overflow: hidden;
  line-height: 0;
}

.elecar-doc-pdf canvas {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  margin: 0;
  background: transparent;
  pointer-events: none;
}

.elecar-doc-pdf.is-loading::before {
  display: none;
}

.elecar-doc-error {
  margin: 0;
  padding: 18px 0;
  color: #777d75;
  font-size: 13px;
  text-align: center;
}

/* Portrait homepage PDF: smaller width, then height follows its real ratio. */
.elecar-home-section .elecar-doc {
  width: min(68vw, 650px) !important;
}

.elecar-home-section .elecar-doc-pdf {
  min-height: 0;
}

/* Product carousel controls appear only while the image area is engaged. */
.elecar-products-button {
  display: flex !important;
  width: 36px !important;
  height: 66px !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .82) !important;
  border-radius: 2px !important;
  background: rgba(18, 20, 17, .56) !important;
  color: transparent !important;
  opacity: 0;
  transform: translateY(-50%) !important;
  transition: opacity .22s ease, background .22s ease, border-color .22s ease !important;
}

.elecar-products-carousel:hover .elecar-products-button,
.elecar-products-carousel:focus-within .elecar-products-button {
  opacity: 1;
}

.elecar-products-button:hover,
.elecar-products-button:focus-visible {
  border-color: #C9A96E !important;
  background: #C9A96E !important;
  outline: 0;
}

.elecar-products-button span {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
}

.elecar-products-prev span {
  transform: rotate(-135deg);
}

.elecar-products-next span {
  transform: rotate(45deg);
}

/* Product carousel: keep one stable image viewport for every slide.  The
 * source photos have different aspect ratios, so each image fills the same
 * frame and is cropped consistently instead of changing the carousel size
 * when the active slide changes.  Controls stay inside the frame edges. */
.elecar-products-carousel {
  position: relative !important;
  width: min(89vw, 1080px) !important;
  height: clamp(220px, 31vw, 430px) !important;
  margin: 28px auto 0 !important;
  overflow: hidden !important;
  isolation: isolate;
}

.elecar-products-slide,
.elecar-products-slide img {
  width: 100% !important;
  height: 100% !important;
}

.elecar-products-slide img {
  display: block !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
}

.elecar-products-prev {
  left: 14px !important;
  right: auto !important;
}

.elecar-products-next {
  right: 14px !important;
  left: auto !important;
}

/* Match the responsive width used by the PDF cards below the carousel. */
@media (max-width: 850px) {
  .elecar-products-carousel {
    width: min(94vw, 920px) !important;
    margin: 18px auto 0 !important;
  }
}

@media (max-width: 520px) {
  .elecar-products-carousel {
    width: 96vw !important;
    margin: 18px auto 0 !important;
  }
}

/* Latest investment library: compact title bars with an explicit, opt-in
 * preview.  Hidden panels do not reserve reader height or trigger PDF.js. */
.elecar-investment-library .elecar-investment-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.elecar-investment-library .elecar-investment-item-header h2 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  color: #C9A96E !important;
  font: 400 clamp(18px, 1.65vw, 24px)/1.3 Georgia, "Microsoft YaHei", serif !important;
  letter-spacing: .01em;
}
.elecar-investment-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}
.elecar-investment-actions button,
.elecar-investment-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid #C9A96E;
  border-radius: 2px;
  background: #fff;
  color: #5e503c;
  font: 400 14px/1.2 Georgia, "Microsoft YaHei", serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.elecar-investment-actions button:hover,
.elecar-investment-actions button:focus-visible,
.elecar-investment-actions a:hover,
.elecar-investment-actions a:focus-visible {
  border-color: #C9A96E;
  background: #C9A96E;
  color: #fff;
}
.elecar-investment-preview[hidden] { display: none !important; }
.elecar-investment-preview {
  margin-top: 22px;
}
.elecar-investment-image-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(calc(100vh - 250px), 730px);
  overflow: hidden;
}
.elecar-investment-image-preview img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(calc(100vh - 250px), 730px);
  object-fit: contain;
}
.elecar-investment-file-note {
  margin: 0;
  padding: 42px 24px;
  border: 1px dashed #dec89d;
  color: #5e503c;
  text-align: center;
  font: 400 16px/1.7 Georgia, "Microsoft YaHei", serif;
}
@media (max-width: 640px) {
  .elecar-investment-library .elecar-investment-item-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .elecar-investment-actions { width: 100%; }
  .elecar-investment-actions button,
  .elecar-investment-actions a { flex: 1 1 0; }
}

/* Final PDF reading mode: every document is full-width and flows vertically.
 * PDF.js canvases keep their natural aspect ratio, so the browser page
 * scrollbar is the only scroll interaction and no nested PDF scrollbar is
 * introduced. */
.elecar-doc-section,
.elecar-home-section {
  width: 100% !important;
  max-width: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.elecar-doc-list {
  width: 100% !important;
  align-items: stretch !important;
  gap: 28px !important;
}

.elecar-doc,
.elecar-home-section .elecar-doc {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.elecar-doc-frame,
.elecar-home-section .elecar-doc-frame,
.elecar-investment-item .elecar-doc-frame {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.elecar-doc-pdf,
.elecar-investment-item .elecar-doc-pdf {
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0 !important;
  overflow: visible !important;
}

.elecar-pdf-page,
.elecar-investment-item .elecar-doc-pdf .elecar-pdf-page {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 46px;
  flex: 0 0 auto !important;
  scroll-snap-align: none !important;
}

.elecar-pdf-page canvas,
.elecar-doc-pdf canvas {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}

/* Investment cards no longer constrain the document to a horizontal reader;
 * retain the heading text while allowing every PDF page to continue below. */
.elecar-investment {
  width: 100% !important;
  max-width: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.elecar-investment-item {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
}

.elecar-investment-item > h2 {
  padding-right: 28px !important;
  padding-left: 28px !important;
}

/* Travel: warm, restrained editorial treatment using the site gold. */
:root {
  --elecar-travel-gold: #C9A96E;
  --elecar-travel-ink: #5e503c;
  --elecar-travel-sand: #f8f1e5;
  --elecar-travel-paper: #fffcf7;
  --elecar-travel-line: #e7d8bf;
}

.elecar-feature-head {
  min-height: 292px !important;
  margin: 48px clamp(22px, 6vw, 112px) 0 !important;
  border: 1px solid var(--elecar-travel-line);
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(104, 79, 42, .07);
}

.elecar-feature-copy {
  padding: 48px clamp(32px, 5vw, 76px) !important;
}

.elecar-kicker {
  margin-bottom: 15px !important;
  color: var(--elecar-travel-gold) !important;
  letter-spacing: .22em !important;
}

.elecar-feature-copy h1,
.elecar-gallery h2 {
  color: var(--elecar-travel-gold) !important;
}

.elecar-feature-copy h1 {
  margin-bottom: 18px !important;
  font-size: clamp(34px, 4vw, 56px) !important;
  letter-spacing: .025em;
}

.elecar-feature-copy p {
  max-width: 550px !important;
  color: var(--elecar-travel-ink) !important;
  font-size: 16px;
  line-height: 1.9 !important;
}

.elecar-feature-visual {
  background: #ede1cc;
}

.elecar-feature-visual::after {
  position: absolute;
  inset: 0;
  border-left: 1px solid rgba(201, 169, 110, .45);
  content: "";
  pointer-events: none;
}

.elecar-gallery {
  margin-top: 34px;
  padding: 38px clamp(22px, 6vw, 112px) 48px !important;
  background: #fff !important;
}

.elecar-gallery h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px !important;
  font-size: clamp(28px, 3vw, 40px) !important;
  letter-spacing: .025em;
}

.elecar-gallery h2::after {
  display: block;
  width: min(130px, 15vw);
  height: 1px;
  background: var(--elecar-travel-gold);
  content: "";
}

.elecar-gallery-grid {
  gap: 10px !important;
}

.elecar-gallery-grid figure {
  border: 1px solid var(--elecar-travel-line);
  background: #f0e5d3 !important;
  box-shadow: 0 4px 13px rgba(87, 66, 37, .06);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.elecar-gallery-grid figure:hover {
  border-color: var(--elecar-travel-gold);
  box-shadow: 0 10px 22px rgba(104, 79, 42, .16);
  transform: translateY(-3px);
}

.elecar-gallery-grid figcaption {
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  padding: 7px 8px !important;
  color: var(--elecar-travel-ink) !important;
  background: rgba(255, 250, 241, .92) !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}

.elecar-closing {
  margin: 0 !important;
  padding: 28px 24px 32px !important;
  color: var(--elecar-travel-gold) !important;
  background: #f3e8d7 !important;
  border-top: 1px solid var(--elecar-travel-line);
  font-size: clamp(16px, 1.55vw, 21px) !important;
  letter-spacing: .02em;
}

/* Travel hero slideshow and image lightbox. */
.elecar-travel-hero .elecar-feature-visual {
  position: relative;
}

.elecar-travel-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}

.elecar-travel-hero-slide.is-active {
  opacity: 1;
}

.elecar-travel-hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.elecar-travel-lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
}

.elecar-travel-lightbox-trigger img {
  cursor: zoom-in;
}

.elecar-travel-modes {
  padding: 42px clamp(22px, 6vw, 112px) 24px;
  background: #fff;
}

.elecar-travel-modes h2 {
  margin: 0 0 24px;
  color: #C9A96E;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
}

.elecar-club-intro {
  max-width: 1120px;
  margin: 38px auto 0;
  padding: 0 24px;
  text-align: center;
}

.elecar-club-intro h1 {
  margin: 8px 0 18px;
  color: #C9A96E;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
}

.elecar-club-intro p:last-child {
  margin: 0 auto;
  max-width: 960px;
  color: #596457;
  font-size: 16px;
  line-height: 1.9;
}

.elecar-club-grid--core {
  max-width: 1250px;
  margin: 0 auto;
}

.elecar-club-card--benefits {
  grid-column: 1 / -1;
}

.elecar-club-card--benefits ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0;
  padding-left: 22px;
}

.elecar-club-card--benefits li {
  padding-left: 5px;
}

.elecar-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(17, 16, 13, .88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.elecar-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.elecar-lightbox img {
  display: block;
  max-width: min(94vw, 1400px);
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 14px 45px rgba(0, 0, 0, .35);
}

.elecar-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .72);
  background: transparent;
  cursor: pointer;
}

.elecar-lightbox-close::before,
.elecar-lightbox-close::after {
  position: absolute;
  top: 18px;
  left: 9px;
  width: 20px;
  height: 1px;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.elecar-lightbox-close::after {
  transform: rotate(-45deg);
}

@media (max-width: 850px) {
  .elecar-travel-modes {
    padding: 30px 16px 18px;
  }

  .elecar-club-card--benefits ol {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .elecar-feature-head {
    min-height: 0 !important;
    margin: 30px 18px 0 !important;
  }

  .elecar-feature-copy {
    padding: 34px 28px !important;
  }

  .elecar-feature-visual::after {
    border-top: 1px solid rgba(201, 169, 110, .45);
    border-left: 0;
  }

  .elecar-gallery {
    margin-top: 22px;
    padding: 30px 16px 35px !important;
  }
}

html[lang^="en"] .elecar-brand-title a::before {
  content: "ELECAR*1873" !important;
}

html[lang^="en"] .elecar-brand-title a::after {
  content: "ELECAR GROUP LIMITED" !important;
}

/* Keep the birds clear of the brand while leaving them visible at the edges. */
.elecar-bird-left {
  left: -112px !important;
  right: auto !important;
}

.elecar-bird-right {
  right: -112px !important;
  left: auto !important;
}

@media (max-width: 850px) {
  .elecar-site {
    padding-top: 96px !important;
  }

  body.admin-bar .elecar-site {
    padding-top: 128px !important;
  }

  .elecar-bird-left {
    left: -72px !important;
  }

  .elecar-bird-right {
    right: -72px !important;
  }

  .elecar-nav-item > a,
  .elecar-nav-item > span {
    font-size: 14px !important;
  }

  .elecar-home-section .elecar-doc {
    width: min(92vw, 650px) !important;
  }
}

@media (max-width: 782px) {
  body.admin-bar .elecar-header {
    top: 46px !important;
  }

  body.admin-bar .elecar-site {
    padding-top: 142px !important;
  }

  .elecar-bird-left {
    left: -52px !important;
  }

  .elecar-bird-right {
    right: -52px !important;
  }

  .elecar-nav-item > a,
  .elecar-nav-item > span {
    font-size: 12px !important;
  }

  .elecar-home-section .elecar-doc {
    width: 94vw !important;
  }

  .elecar-qingming {
    height: 225px !important;
  }
}

/* Final travel and auto-club visual system: editorial white space + warm
 * paper tones. This overrides the earlier green/blue component defaults. */
.elecar-travel-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) !important;
  width: min(1280px, calc(100% - 64px)) !important;
  min-height: 360px !important;
  margin: 46px auto 0 !important;
  border: 1px solid #eadfcd !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(91, 68, 35, .06) !important;
}

.elecar-travel-hero .elecar-feature-copy {
  position: relative;
  justify-content: center;
  padding: 56px clamp(34px, 5vw, 78px) !important;
  background: #fff !important;
}

.elecar-travel-hero .elecar-feature-copy::before {
  position: absolute;
  top: 56px;
  bottom: 56px;
  left: 0;
  width: 3px;
  background: #C9A96E;
  content: "";
}

.elecar-travel-hero .elecar-kicker {
  color: #C9A96E !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: .22em !important;
}

.elecar-travel-hero .elecar-feature-copy h1 {
  margin: 0 0 22px !important;
  color: #C9A96E !important;
  font-size: clamp(34px, 4.15vw, 58px) !important;
  line-height: 1.12 !important;
  letter-spacing: .02em;
}

.elecar-travel-hero .elecar-feature-copy p:last-child {
  max-width: 560px !important;
  margin: 0 !important;
  color: #665946 !important;
  font-size: 16px !important;
  line-height: 2 !important;
}

.elecar-travel-hero .elecar-feature-visual {
  min-height: 320px !important;
  height: 320px !important;
  border-left: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  background: #fff !important;
}

.elecar-travel-hero .elecar-feature-visual::after {
  border-left: 0 !important;
}

.elecar-travel-hero .elecar-travel-hero-slide {
  inset: 42px !important;
}

.elecar-travel-hero .elecar-travel-hero-slide img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.elecar-gallery {
  width: min(1280px, calc(100% - 64px));
  margin: 42px auto 0 !important;
  padding: 0 0 52px !important;
  background: #fff !important;
}

.elecar-gallery h2 {
  margin: 0 0 24px !important;
  color: #C9A96E !important;
  font-size: clamp(26px, 3vw, 38px) !important;
  line-height: 1.2 !important;
  letter-spacing: .04em;
}

.elecar-gallery h2::after {
  width: 96px;
  background: #C9A96E !important;
}

.elecar-gallery-grid {
  width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
  grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.elecar-gallery-grid figure {
  border: 1px solid #eadfcd !important;
  border-radius: 2px;
  background: #fcfaf6 !important;
  box-shadow: 0 4px 12px rgba(91, 68, 35, .06) !important;
}

.elecar-gallery-grid figure:hover {
  border-color: #C9A96E !important;
  box-shadow: 0 12px 24px rgba(91, 68, 35, .14) !important;
}

.elecar-gallery-grid figcaption {
  display: block;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 25px;
  min-height: 0;
  padding: 5px 7px !important;
  color: #5e503c !important;
  background: rgba(255, 252, 247, .78) !important;
  font-size: 11px !important;
  line-height: 15px !important;
  text-align: center;
  text-shadow: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}

.elecar-travel-modes {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto 38px;
  padding: 34px 0 10px !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
}

.elecar-travel-modes h2 {
  margin: 0 0 22px !important;
  width: 100% !important;
  padding: 0 !important;
  color: #C9A96E !important;
  font-size: clamp(25px, 2.7vw, 36px) !important;
  font-weight: 400;
}

.elecar-travel-modes .elecar-mode-list {
  width: 100% !important;
  padding: 0 0 30px !important;
  gap: 18px !important;
}

.elecar-travel-modes .elecar-mode {
  padding: 26px 30px !important;
  border: 1px solid #eadfcd !important;
  border-top: 3px solid #C9A96E !important;
  background: transparent !important;
  box-shadow: 0 5px 16px rgba(91, 68, 35, .06);
}

.elecar-travel-modes .elecar-mode h3 {
  margin-bottom: 12px !important;
  color: #C9A96E !important;
  font-size: 21px !important;
}

.elecar-travel-modes .elecar-mode p {
  color: #665946 !important;
  font-size: 15px;
  line-height: 1.9 !important;
}

.elecar-travel-hero + .elecar-gallery + .elecar-travel-modes + .elecar-closing {
  padding: 30px 24px 34px !important;
  border: 0 !important;
  color: #665946 !important;
  background: #fbf8f2 !important;
  font-size: clamp(16px, 1.45vw, 20px) !important;
}

.elecar-club-intro {
  width: min(1000px, calc(100% - 64px));
  margin: 48px auto 28px !important;
  padding: 0 !important;
  text-align: center;
}

.elecar-club-intro .elecar-kicker {
  color: #C9A96E !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: .22em !important;
}

.elecar-club-intro h1 {
  margin: 10px 0 18px !important;
  color: #C9A96E !important;
  font-size: clamp(33px, 4vw, 54px) !important;
  line-height: 1.16 !important;
  letter-spacing: .02em;
}

.elecar-club-intro p:last-child {
  max-width: 780px !important;
  color: #665946 !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
}

.elecar-club-grid--core {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto 38px !important;
  padding: 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.elecar-club-grid--core .elecar-club-card {
  padding: 30px 32px !important;
  border: 1px solid #eadfcd !important;
  border-top: 3px solid #C9A96E !important;
  border-radius: 2px;
  background: #fff !important;
  box-shadow: 0 7px 20px rgba(91, 68, 35, .06);
}

.elecar-club-grid--core .elecar-club-card h3 {
  margin-bottom: 14px !important;
  color: #C9A96E !important;
  font-size: 21px !important;
  line-height: 1.35;
}

.elecar-club-grid--core .elecar-club-card p,
.elecar-club-grid--core .elecar-club-card li {
  color: #665946 !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
}

.elecar-club-grid--core .elecar-club-card--benefits {
  grid-column: 1 / -1 !important;
}

.elecar-club-grid--core .elecar-club-card--benefits ol {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px 34px !important;
}

.elecar-club-closing {
  margin: 0 !important;
  padding: 28px 24px 34px !important;
  border-top: 1px solid #eadfcd !important;
  color: #665946 !important;
  background: #fbf8f2 !important;
  font-size: clamp(17px, 1.5vw, 21px) !important;
  letter-spacing: .02em;
}

@media (max-width: 850px) {
  .elecar-travel-hero,
  .elecar-gallery,
  .elecar-travel-modes,
  .elecar-club-intro,
  .elecar-club-grid--core {
    width: calc(100% - 36px) !important;
  }

  .elecar-travel-hero {
    grid-template-columns: 1fr !important;
    margin-top: 30px !important;
  }

  .elecar-travel-hero .elecar-feature-visual {
    min-height: 240px !important;
    height: 240px !important;
    padding: 0 !important;
    border-top: 0 !important;
    border-left: 0 !important;
  }

  .elecar-travel-hero .elecar-travel-hero-slide {
    inset: 28px !important;
  }

  .elecar-travel-hero .elecar-feature-copy {
    padding: 38px 30px !important;
  }

  .elecar-travel-hero .elecar-feature-copy::before {
    top: 38px;
    bottom: 38px;
  }

  .elecar-gallery-grid {
    width: 100% !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  .elecar-club-grid--core {
    grid-template-columns: 1fr !important;
  }

  .elecar-club-grid--core .elecar-club-card--benefits {
    grid-column: auto !important;
  }

  .elecar-club-grid--core .elecar-club-card--benefits ol {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px) {
  .elecar-travel-hero,
  .elecar-gallery,
  .elecar-travel-modes,
  .elecar-club-intro,
  .elecar-club-grid--core {
    width: calc(100% - 24px) !important;
  }

  .elecar-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .elecar-travel-modes .elecar-mode-list {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }
}

/* Let Auto Club content determine its own height; do not push the closing
 * statement down with a viewport-sized flex spacer. */
body:has(.elecar-club-grid--core) .elecar-main {
  display: block !important;
  min-height: 0 !important;
}

body:has(.elecar-club-grid--core) .elecar-club-closing {
  margin-top: 0 !important;
}

body:has(.elecar-club-grid--core) .elecar-club-grid--core {
  align-items: stretch !important;
}

body:has(.elecar-club-grid--core) .elecar-grid--core .elecar-club-card,
body:has(.elecar-club-grid--core) .elecar-club-grid--core .elecar-club-card {
  height: auto !important;
  min-height: 0 !important;
}

/* Keep the two introductory cards in the first row visually aligned. */
body:has(.elecar-club-grid--core) .elecar-club-grid--core > .elecar-club-card:not(.elecar-club-card--benefits) {
  align-self: stretch !important;
}

/* Auto Club: keep the core content and closing statement within one viewport
 * before the shared panorama/footer begins. */
body:has(.elecar-club-grid--core) .elecar-main {
  display: flex !important;
  min-height: calc(100vh - 82px) !important;
  flex-direction: column !important;
}

body:has(.elecar-club-grid--core) .elecar-club-closing {
  margin-top: auto !important;
}

body.admin-bar:has(.elecar-club-grid--core) .elecar-main {
  min-height: calc(100vh - 114px) !important;
}

@media (max-width: 850px) {
  body:has(.elecar-club-grid--core) .elecar-main {
    min-height: calc(100vh - 96px) !important;
  }

  body.admin-bar:has(.elecar-club-grid--core) .elecar-main {
    min-height: calc(100vh - 128px) !important;
  }
}

@media (max-width: 782px) {
  body.admin-bar:has(.elecar-club-grid--core) .elecar-main {
    min-height: calc(100vh - 142px) !important;
  }
}

/* Keep every travel hero slide geometrically centered in the right panel. */
.elecar-travel-hero .elecar-feature-visual {
  position: relative !important;
  display: block !important;
  height: auto !important;
  min-height: 320px !important;
  padding: 0 !important;
  align-self: stretch !important;
  overflow: hidden;
}

.elecar-travel-hero .elecar-travel-hero-slide {
  position: absolute !important;
  top: 50% !important;
  right: 42px !important;
  left: 42px !important;
  bottom: auto !important;
  height: 236px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%) !important;
}

.elecar-travel-hero .elecar-travel-hero-slide img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  aspect-ratio: 1.42 / 1;
}

@media (max-width: 850px) {
  .elecar-travel-hero .elecar-feature-visual {
    min-height: 240px !important;
    height: auto !important;
  }

  .elecar-travel-hero .elecar-travel-hero-slide {
    right: 28px !important;
    left: 28px !important;
    height: 184px !important;
  }
}

/* Contact downloads: use the same restrained card language as Auto Club. */
.elecar-download-section {
  width: min(1160px, calc(100% - 64px)) !important;
  margin: 48px auto 54px !important;
  padding: 0 !important;
  text-align: center !important;
}

.elecar-download-section h1 {
  margin: 0 0 34px !important;
  color: #C9A96E !important;
  font: 400 clamp(33px, 4vw, 54px)/1.16 Georgia, "Noto Serif SC", serif !important;
  letter-spacing: .02em;
}

.elecar-downloads {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.elecar-download {
  min-width: 0 !important;
  padding: 30px 32px !important;
  border: 1px solid #eadfcd !important;
  border-top: 3px solid #C9A96E !important;
  border-radius: 2px !important;
  background: #fff !important;
  box-shadow: 0 7px 20px rgba(91, 68, 35, .06) !important;
  text-align: left !important;
}

.elecar-download h2 {
  margin: 0 0 22px !important;
  color: #C9A96E !important;
  font: 400 21px/1.35 Georgia, "Microsoft YaHei", serif !important;
}

.elecar-download .elecar-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px !important;
  border: 1px solid #C9A96E !important;
  border-radius: 1px !important;
  color: #7d6540 !important;
  background: transparent !important;
  font: 400 13px/1.2 Georgia, "Microsoft YaHei", serif !important;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.elecar-download .elecar-button:hover,
.elecar-download .elecar-button:focus-visible {
  border-color: #C9A96E !important;
  color: #fff !important;
  background: #C9A96E !important;
}

.elecar-download-section--careers .elecar-downloads {
  grid-template-columns: minmax(0, 760px) !important;
  justify-content: center;
}

@media (max-width: 850px) {
  .elecar-download-section {
    width: calc(100% - 36px) !important;
    margin-top: 34px !important;
  }

  .elecar-downloads {
    grid-template-columns: 1fr !important;
  }

  .elecar-download-section--careers .elecar-downloads {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px) {
  .elecar-download-section {
    width: calc(100% - 24px) !important;
    margin-bottom: 38px !important;
  }

  .elecar-download {
    padding: 24px 22px !important;
  }
}

/* Investment library: each document is presented as a warm, restrained card.
 * Pages stay side-by-side inside a horizontal reader; the wheel handler in
 * functions.php maps a normal mouse-wheel gesture to horizontal movement. */
.elecar-investment {
  width: min(1280px, calc(100% - 64px)) !important;
  margin: 0 auto !important;
  padding: 28px 0 52px !important;
}

.elecar-investment-item {
  margin: 0 0 28px !important;
  padding: 26px 28px 30px !important;
  border: 1px solid #eadfcd !important;
  border-top: 3px solid #C9A96E !important;
  border-radius: 2px !important;
  background: #fff !important;
  box-shadow: 0 7px 20px rgba(91, 68, 35, .06) !important;
}

.elecar-investment-item > h2 {
  margin: 0 0 20px !important;
  color: #C9A96E !important;
  font: 400 clamp(19px, 2vw, 24px)/1.4 Georgia, "Microsoft YaHei", serif !important;
  text-align: left;
}

.elecar-investment-item .elecar-doc {
  width: 100% !important;
  margin: 0 !important;
}

.elecar-investment-item .elecar-doc-frame {
  width: min(54vw, 680px) !important;
  height: min(calc(100vh - 220px), 730px) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #C9A96E #f5f0e7;
}

.elecar-investment-item .elecar-doc-frame::-webkit-scrollbar {
  height: 8px;
}

.elecar-investment-item .elecar-doc-frame::-webkit-scrollbar-track {
  background: #f5f0e7;
}

.elecar-investment-item .elecar-doc-frame::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #C9A96E;
}

.elecar-investment-item .elecar-doc-pdf {
  width: 100% !important;
  min-width: 0 !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 14px !important;
  overflow: visible !important;
}

/* Reserve the height of one compact reader before its PDF is requested.
 * This keeps lower documents outside the initial observer viewport, so a
 * refresh only opens the first visible investment document. */
.elecar-investment-item .elecar-doc-pdf:not([data-rendered="1"]) {
  min-height: 100% !important;
}

.elecar-investment-item .elecar-doc-pdf .elecar-pdf-page {
  flex: 0 0 var(--elecar-pdf-page-width, auto) !important;
  width: var(--elecar-pdf-page-width, auto) !important;
  max-width: none !important;
  scroll-snap-align: start;
}

.elecar-investment-item .elecar-doc-pdf .elecar-pdf-page canvas {
  width: 100% !important;
  max-width: 100% !important;
}

/* Keep the reader itself at one-page width; each source page is therefore
 * shown as a single slide instead of shrinking all pages into one long row. */
.elecar-investment-item .elecar-doc-pdf {
  min-height: 0 !important;
}

/* The registration certificate contains one page only. Center its canvas in
 * the reader instead of leaving the reduced page aligned to the left edge. */
.elecar-investment-item--single .elecar-doc-pdf {
  justify-content: center !important;
}

.elecar-investment-item--single .elecar-doc-frame {
  overflow-x: hidden !important;
}

/* Multi-page documents show two reduced pages in the reader at once. */
.elecar-investment-item--double .elecar-doc-pdf {
  justify-content: flex-start !important;
}

@media (max-width: 850px) {
  .elecar-investment {
    width: calc(100% - 36px) !important;
    padding-top: 22px !important;
  }

  .elecar-investment-item {
    padding: 22px 20px 24px !important;
  }

  .elecar-investment-item .elecar-doc-frame {
    width: min(76vw, 560px) !important;
    height: min(calc(100vh - 210px), 650px) !important;
  }

  .elecar-investment-item .elecar-doc-pdf:not([data-rendered="1"]) {
    min-height: 100% !important;
  }
}

/* Final PDF reading mode (last in cascade): full viewport width, natural
 * page height and one continuous vertical document stream on every page. */
.elecar-doc-section,
.elecar-home-section {
  width: 100% !important;
  max-width: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}
.elecar-doc-list { width: 100% !important; align-items: stretch !important; gap: 28px !important; }
.elecar-doc,
.elecar-home-section .elecar-doc { width: 100% !important; max-width: none !important; margin-right: 0 !important; margin-left: 0 !important; }
.elecar-doc-frame,
.elecar-home-section .elecar-doc-frame,
.elecar-investment-item .elecar-doc-frame { width: 100% !important; max-width: none !important; height: auto !important; min-height: 0 !important; margin-right: 0 !important; margin-left: 0 !important; overflow: visible !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.elecar-doc-pdf,
.elecar-investment-item .elecar-doc-pdf { width: 100% !important; min-width: 0 !important; height: auto !important; flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; gap: 0 !important; overflow: visible !important; }
.elecar-pdf-page,
.elecar-investment-item .elecar-doc-pdf .elecar-pdf-page { display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; flex: 0 0 auto !important; scroll-snap-align: none !important; }
.elecar-pdf-page canvas,
.elecar-doc-pdf canvas { display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 0 auto !important; }
.elecar-investment { width: 100% !important; max-width: none !important; padding-right: 0 !important; padding-left: 0 !important; }
.elecar-investment-item { width: 100% !important; max-width: none !important; margin-right: 0 !important; margin-left: 0 !important; border-right: 0 !important; border-left: 0 !important; border-radius: 0 !important; }
.elecar-investment-item > h2 { padding-right: 28px !important; padding-left: 28px !important; }

/* Investment library exception: retain the previously approved horizontal
 * reader with two reduced pages visible for each multi-page document. */
.elecar-investment {
  width: min(1280px, calc(100% - 64px)) !important;
  margin: 0 auto !important;
  padding: 28px 0 52px !important;
}
.elecar-investment-item {
  width: auto !important;
  margin: 0 0 28px !important;
  padding: 26px 28px 30px !important;
  border: 1px solid #eadfcd !important;
  border-top: 3px solid #C9A96E !important;
  border-right: 1px solid #eadfcd !important;
  border-left: 1px solid #eadfcd !important;
  border-radius: 2px !important;
  background: #fff !important;
  box-shadow: 0 7px 20px rgba(91, 68, 35, .06) !important;
}
.elecar-investment-item > h2 { padding: 0 !important; margin: 0 0 20px !important; }
.elecar-investment-item .elecar-doc { width: 100% !important; margin: 0 !important; }
.elecar-investment-item .elecar-doc-frame {
  width: min(54vw, 680px) !important;
  height: min(calc(100vh - 220px), 730px) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #C9A96E #f5f0e7;
}
.elecar-investment-item .elecar-doc-frame::-webkit-scrollbar { height: 8px; }
.elecar-investment-item .elecar-doc-frame::-webkit-scrollbar-track { background: #f5f0e7; }
.elecar-investment-item .elecar-doc-frame::-webkit-scrollbar-thumb { border-radius: 8px; background: #C9A96E; }
.elecar-investment-item .elecar-doc-pdf {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 14px !important;
  overflow: visible !important;
}
.elecar-investment-item .elecar-doc-pdf .elecar-pdf-page {
  flex: 0 0 var(--elecar-pdf-page-width, auto) !important;
  width: var(--elecar-pdf-page-width, auto) !important;
  max-width: none !important;
  height: auto !important;
  scroll-snap-align: start !important;
}
.elecar-investment-item .elecar-doc-pdf .elecar-pdf-page canvas { width: 100% !important; max-width: 100% !important; }
.elecar-investment-item--single .elecar-doc-pdf { justify-content: center !important; }
.elecar-investment-item--single .elecar-doc-frame { overflow-x: hidden !important; }
.elecar-investment-item--double .elecar-doc-pdf { justify-content: flex-start !important; }
.elecar-investment-item--double .elecar-doc-frame { width: min(80vw, 1000px) !important; }
@media (max-width: 850px) {
  .elecar-investment { width: calc(100% - 36px) !important; padding-top: 22px !important; }
  .elecar-investment-item { padding: 22px 20px 24px !important; }
  .elecar-investment-item .elecar-doc-frame { width: min(76vw, 560px) !important; height: min(calc(100vh - 210px), 650px) !important; }
  .elecar-investment-item--double .elecar-doc-frame { width: min(94vw, 900px) !important; }
}
@media (max-width: 520px) {
  .elecar-investment { width: calc(100% - 24px) !important; padding-bottom: 42px !important; }
  .elecar-investment-item { margin-bottom: 20px !important; padding: 20px 14px 22px !important; }
  .elecar-investment-item .elecar-doc-frame { width: 88vw !important; height: min(calc(100vh - 200px), 570px) !important; }
  .elecar-investment-item--double .elecar-doc-frame { width: 96vw !important; }
}

/* Give the two-page readers a little more horizontal room so both reduced
 * pages remain legible while the single-page certificate keeps its compact
 * centered reader. */
.elecar-investment-item--double .elecar-doc-frame {
  width: min(80vw, 1000px) !important;
}

@media (max-width: 850px) {
  .elecar-investment-item--double .elecar-doc-frame {
    width: min(94vw, 900px) !important;
  }
}

@media (max-width: 520px) {
  .elecar-investment-item--double .elecar-doc-frame {
    width: 96vw !important;
  }
}

/* Global page scrollbar, aligned with the investment document reader. */
html,
body {
  scrollbar-width: auto;
  scrollbar-color: #C9A96E #f5f0e7;
}

html::-webkit-scrollbar {
  width: 12px;
}

html::-webkit-scrollbar-track {
  background: #f5f0e7;
}

html::-webkit-scrollbar-thumb {
  min-height: 44px;
  border: 2px solid #f5f0e7;
  border-radius: 8px;
  background: #C9A96E;
}

html::-webkit-scrollbar-thumb:hover {
  background: #b89558;
}

/* Public showcase pages are read-only: disable selection/copy gestures while
 * keeping form fields editable if they are introduced later. */
body,
body * {
  -webkit-user-select: none !important;
  user-select: none !important;
}

input,
textarea,
select,
[contenteditable="true"],
[contenteditable="true"] * {
  -webkit-user-select: text !important;
  user-select: text !important;
}

/* Footer city panels use one consistent fixed height on desktop, tablet and
 * mobile so Shanghai and Hong Kong remain visually aligned. */
.elecar-footer-cities figure {
  height: 200px !important;
}

.elecar-footer-cities img {
  height: 200px !important;
}

/* Centered enterprise/contact menus in the same warm card system used by the
 * content cards throughout the site. */
.elecar-nav-item--dropdown .elecar-submenu {
  top: 100% !important;
  right: auto !important;
  left: 50% !important;
  width: min(490px, calc(100vw - 32px)) !important;
  padding: 12px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  border: 1px solid #eadfcd !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 12px 30px rgba(91, 68, 35, .12) !important;
  transform: translate(-50%, -8px) !important;
}

.elecar-nav-item--dropdown:hover .elecar-submenu,
.elecar-nav-item--dropdown:focus-within .elecar-submenu {
  transform: translate(-50%, 0) !important;
}

.elecar-nav-item--dropdown .elecar-submenu a {
  min-height: 42px !important;
  padding: 9px 12px !important;
  border: 1px solid #f0e7d8 !important;
  color: #665946 !important;
  background: #fcfaf6 !important;
  font-size: 13px !important;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease !important;
}

.elecar-nav-item--dropdown .elecar-submenu a:hover,
.elecar-nav-item--dropdown .elecar-submenu a:focus-visible {
  color: #fff !important;
  border-color: #C9A96E !important;
  background: #C9A96E !important;
  outline: 0;
}

/* Keep both the section label and the selected child visually tied to the
 * page currently being viewed. */
.elecar-nav-item.is-current > a,
.elecar-nav-item.is-current > span,
.elecar-nav-item--dropdown .elecar-submenu a.is-current {
  color: #C9A96E !important;
}

.elecar-nav-item--dropdown .elecar-submenu a.is-current {
  border-color: #dec89d !important;
  background: #fbf6ed !important;
}

@media (max-width: 850px) {
  .elecar-nav-item--dropdown .elecar-submenu {
    width: min(360px, calc(100vw - 24px)) !important;
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px) {
  .elecar-investment {
    width: calc(100% - 24px) !important;
    padding-bottom: 42px !important;
  }

  .elecar-investment-item {
    margin-bottom: 20px !important;
    padding: 20px 14px 22px !important;
  }

  .elecar-investment-item .elecar-doc-frame {
    width: 88vw !important;
    height: min(calc(100vh - 200px), 570px) !important;
  }

  .elecar-investment-item .elecar-doc-pdf:not([data-rendered="1"]) {
    min-height: 100% !important;
  }
}

/* Footer refinements for the current review layout. */
.elecar-qingming {
  height: 220px !important;
}

.elecar-footer-cities {
  gap: 0 !important;
}

.elecar-footer-about-grid {
  display: grid !important;
  grid-template-columns: max-content max-content;
  column-gap: 24px;
  align-items: start;
  width: max-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

/* Center the About Us heading over its two compact link columns. */
.elecar-footer > div:nth-child(2) > h3 {
  width: 100% !important;
  text-align: center !important;
}

.elecar-footer-about-grid > div {
  min-width: 0;
}

/* The title-less Products column uses the same heading slot as its
 * neighbours; do not add another top offset above its links. */
.elecar-footer-links-plain {
  padding-top: 0 !important;
  padding-left: clamp(18px, 2vw, 36px) !important;
  box-sizing: border-box;
}

/* Lift the first Products link to the same baseline as the About Us and
 * Contact Us headings while keeping the remaining three links below it. */
.elecar-footer-links-plain > h3 {
  display: none !important;
}

.elecar-footer-address br {
  line-height: 1.62;
}

/* Keep a fixed 4vw breathing room on both sides of the panorama. The track
 * and animation distance use the same 92vw content width so the duplicated
 * image loops without exposing a blank seam. */
.elecar-qingming {
  width: 92vw !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  box-sizing: border-box !important;
}

.elecar-qingming-track,
.elecar-qingming-track img {
  width: 92vw !important;
}

.elecar-qingming-track img {
  flex-basis: 92vw !important;
}

@keyframes elecar-landscape {
  from { transform: translateX(0); }
  to { transform: translateX(-92vw); }
}

html[lang^="en"] .elecar-footer-tagline {
  max-width: 340px;
  white-space: pre-line;
  line-height: 1.55;
}

@media (max-width: 850px) {
  .elecar-qingming {
    height: 180px !important;
  }

  .elecar-footer-about-grid {
    column-gap: 18px;
  }

  .elecar-footer-links-plain {
    padding-left: 16px !important;
  }
}

@media (max-width: 520px) {
  .elecar-qingming {
    height: 150px !important;
  }

  .elecar-footer-about-grid {
    grid-template-columns: max-content max-content;
    column-gap: 14px;
  }

  .elecar-footer-links-plain {
    padding-left: 0 !important;
  }
}

/* Final footer structure: a 92vw canvas matching the panorama, with the
 * company block on the left and three evenly spaced link columns on the
 * right. */
  .elecar-footer {
    width: 92vw !important;
    margin-right: auto !important;
    margin-left: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.9fr) !important;
    grid-template-rows: minmax(220px, auto) auto auto !important;
  column-gap: clamp(28px, 4vw, 72px) !important;
  /* Remove the inherited 8vw side padding so the footer canvas starts and
   * ends on the same vertical edges as the 92vw panorama above. */
  padding-right: 0 !important;
  padding-left: 0 !important;
  border-top: 0 !important;
  box-sizing: border-box !important;
}

.elecar-footer-links-group {
  grid-column: 2;
  display: grid !important;
  grid-template-columns: max-content max-content max-content;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(32px, 4vw, 64px);
  min-width: 0;
}

/* Desktop footer columns are aligned to the full 92vw canvas: Products sits
 * at the page center, About Us shifts left, and Contact Us stays at the far
 * right edge. */
@media (min-width: 851px) {
  .elecar-footer-links-group {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    position: relative;
    display: block !important;
    min-height: 220px;
    width: 100%;
    z-index: 1;
  }

  /* Keep the company block alongside the three link columns. Without an
   * explicit row, CSS grid's auto-placement moves it below the full-width
   * links group. */
  .elecar-footer > div:first-child {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .elecar-footer-cities {
    grid-row: 2 !important;
  }

  .elecar-copyright {
    grid-row: 3 !important;
  }

  .elecar-footer-links-group > div {
    position: absolute;
    top: 0;
  }

  .elecar-footer-links-group .elecar-footer-about {
    left: 28%;
  }

  .elecar-footer-links-group .elecar-footer-links-plain {
    left: 50%;
    transform: translateX(-50%);
    padding-left: 0 !important;
  }

  .elecar-footer-links-group .elecar-footer-contact {
    /* Match the About Us → Products gap instead of pinning this column to
     * the extreme edge. */
    left: 68%;
    right: auto;
  }

  .elecar-footer > div:first-child {
    position: relative;
    z-index: 2;
  }
}

/* Empty address placeholders are suppressed after the address is removed
 * from the public footer output. */
.elecar-footer-address:empty {
  display: none !important;
}

.elecar-footer-links-group > div {
  min-width: 0;
}

/* Enlarge the regular footer copy while keeping the copyright line compact. */
.elecar-footer > div:first-child > p:not(.elecar-footer-mark),
.elecar-footer-links-group p {
  font-size: 15px !important;
  line-height: 1.7 !important;
}

.elecar-footer-links-group h3 {
  font-size: 16px !important;
}

/* About Us is aligned to the first link column, rather than centered over
 * both inner columns. */
.elecar-footer-about > h3 {
  width: max-content !important;
  min-width: 100% !important;
  text-align: left !important;
}

.elecar-footer-about-grid {
  justify-content: flex-start;
  margin-right: 0;
  margin-left: 0;
}

/* Column headings use the same dark text as the rest of the footer. */
.elecar-footer h3,
.elecar-footer-links-group h3,
.elecar-contact-heading,
.elecar-footer > div:nth-child(2) h3,
.elecar-footer > div:nth-child(4) h3 {
  color: #172018 !important;
}

.elecar-footer-mark span,
.elecar-brand-title b,
.elecar-header .elecar-brand-title .elecar-brand-zh b,
.elecar-header .elecar-brand-title .elecar-brand-en b {
  color: #86ad35 !important;
  -webkit-text-fill-color: #86ad35 !important;
}

/* Use a Hei-style face for the ELECAR brand word in the header and footer. */
.elecar-brand-title b,
.elecar-footer-mark span {
  font-family: SimHei, "Microsoft YaHei", Arial, sans-serif !important;
}

/* Keep the footer's *1873 suffix in the same Hei-style face as ELECAR. */
.elecar-footer-mark {
  font-family: SimHei, "Microsoft YaHei", Arial, sans-serif !important;
}

/* Keep only the company name green; the accompanying language subtitle is
 * rendered in the standard black brand color. */
.elecar-header .elecar-brand-title .elecar-brand-zh i,
.elecar-header .elecar-brand-title .elecar-brand-en i {
  color: #181b18 !important;
  -webkit-text-fill-color: #181b18 !important;
}

.elecar-brand-title a::before {
  /* The brand prefix is the only green part of the top title. */
  color: #86ad35 !important;
  background: none !important;
  -webkit-text-fill-color: #86ad35 !important;
}

.elecar-brand-title a::after {
  /* Keep the company-name subtitle in black in both languages. */
  color: #181b18 !important;
  background: none !important;
  -webkit-text-fill-color: #181b18 !important;
}

.elecar-footer-cities,
.elecar-copyright {
  grid-column: 1 / -1 !important;
}

@media (max-width: 850px) {
  .elecar-footer {
    grid-template-columns: 1fr !important;
  }

  .elecar-footer-links-group {
    grid-column: 1;
    display: flex !important;
    gap: 18px;
  }

  .elecar-footer-links-group > div {
    flex: 1 1 0;
  }
}

@media (max-width: 520px) {
  .elecar-footer-links-group {
    flex-direction: column;
    gap: 18px;
  }

  .elecar-footer-about-grid {
    grid-template-columns: max-content max-content;
  }
}

/* Enlarge the header navigation labels and submenu cards for readability. */
.elecar-nav-item > a,
.elecar-nav-item > span {
  font-size: 19px !important;
}

.elecar-nav-item--dropdown .elecar-submenu a {
  font-size: 15px !important;
}

@media (max-width: 850px) {
  .elecar-nav-item > a,
  .elecar-nav-item > span {
    font-size: 15px !important;
  }

  .elecar-nav-item--dropdown .elecar-submenu a {
    font-size: 14px !important;
  }
}

@media (max-width: 520px) {
  .elecar-nav-item > a,
  .elecar-nav-item > span {
    font-size: 13px !important;
  }

  .elecar-nav-item--dropdown .elecar-submenu a {
    font-size: 13px !important;
  }
}

/* Keep the content birds fixed in the viewport and farther toward the outer
 * edges, leaving the central page content unobstructed. */
.elecar-content-birds {
  position: fixed !important;
  top: 102px !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 9000 !important;
  height: 0 !important;
}

.elecar-content-bird {
  top: 0 !important;
  width: 132px !important;
  height: 132px !important;
}

.elecar-content-bird-left {
  left: max(-125px, calc(4vw - 170px)) !important;
}

.elecar-content-bird-right {
  right: max(-125px, calc(4vw - 170px)) !important;
}

body.admin-bar .elecar-content-birds {
  top: 134px !important;
}

@media (max-width: 850px) {
  .elecar-content-birds {
    top: 114px !important;
  }

  body.admin-bar .elecar-content-birds {
    top: 160px !important;
  }

  .elecar-content-bird {
    width: 108px !important;
    height: 108px !important;
  }

  .elecar-content-bird-left {
    left: -96px !important;
  }

  .elecar-content-bird-right {
    right: -96px !important;
  }
}

@media (max-width: 520px) {
  .elecar-content-birds {
    top: 116px !important;
  }

  body.admin-bar .elecar-content-birds {
    top: 162px !important;
  }

  .elecar-content-bird {
    width: 84px !important;
    height: 84px !important;
  }

  .elecar-content-bird-left {
    left: -72px !important;
  }

  .elecar-content-bird-right {
    right: -72px !important;
  }
}

/* Bring the fixed birds back inward so both are clearly visible on screen. */
.elecar-content-bird-left {
  left: clamp(10px, 4vw, 72px) !important;
}

.elecar-content-bird-right {
  right: clamp(10px, 4vw, 72px) !important;
}

@media (max-width: 850px) {
  .elecar-content-bird-left {
    left: clamp(8px, 3vw, 42px) !important;
  }

  .elecar-content-bird-right {
    right: clamp(8px, 3vw, 42px) !important;
  }
}

@media (max-width: 520px) {
  .elecar-content-bird-left {
    left: 10px !important;
  }

  .elecar-content-bird-right {
    right: 10px !important;
  }
}

/* Match the header's inner canvas to the 92vw Qingming panorama below. The
 * outer header remains full-width white, while brand and language controls
 * sit at the matching left and right edges. */
.elecar-header {
  width: 100% !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.elecar-header-row {
  width: 92vw !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.elecar-brand {
  justify-content: flex-start !important;
}

.elecar-language {
  justify-content: flex-end !important;
}

/* Center the complete desktop navigation group within the 92vw header
 * canvas, independent of the wider brand block on the left and language
 * switch on the right. */
@media (min-width: 851px) {
  .elecar-header-row {
    position: relative !important;
  }

  .elecar-nav {
    position: absolute !important;
    top: 0;
    bottom: 0;
    left: 50%;
    width: max-content !important;
    max-width: calc(100% - 360px);
    height: auto !important;
    transform: translateX(-50%);
    justify-content: center !important;
    align-items: center !important;
  }

  .elecar-language {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    flex: none !important;
    transform: translateY(-50%);
  }
}

/* Move the decorative birds out of the sticky navigation and into the page
 * content area. They sit in the outer margins, so they do not cover PDF or
 * card content while scrolling through any page. */
.elecar-content-birds {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 0;
  pointer-events: none;
}

.elecar-content-bird {
  position: absolute;
  top: 18px;
  display: block;
  width: 150px;
  height: 150px;
  object-fit: contain;
  pointer-events: none;
}

.elecar-content-bird-left {
  left: max(-112px, calc(4vw - 150px));
}

.elecar-content-bird-right {
  right: max(-112px, calc(4vw - 150px));
}

@media (max-width: 850px) {
  .elecar-content-bird {
    top: 14px;
    width: 120px;
    height: 120px;
  }

  .elecar-content-bird-left {
    left: max(-86px, calc(4vw - 120px));
  }

  .elecar-content-bird-right {
    right: max(-86px, calc(4vw - 120px));
  }
}

@media (max-width: 520px) {
  .elecar-content-bird {
    top: 10px;
    width: 92px;
    height: 92px;
  }

  .elecar-content-bird-left {
    left: -64px;
  }

  .elecar-content-bird-right {
    right: -64px;
  }
}

/* -------------------------------------------------------------------------
 * Narrow-window typography/layout guardrails
 *
 * The header and footer contain long English labels (for example
 * “Franchise Cooperation” and “Video BrainStorming”).  The older rules above
 * positioned some footer columns absolutely and used max-content widths;
 * those combinations make the labels overlap as the viewport gets narrower.
 * Keep the desktop composition, but let each column participate in normal
 * grid layout and allow text to wrap when there is not enough room.
 * ---------------------------------------------------------------------- */

/* Header: three stable zones (brand / centred navigation / language). */
@media (min-width: 851px) {
  .elecar-header-row {
    display: grid !important;
    grid-template-columns: minmax(220px, 1fr) minmax(0, auto) minmax(80px, 1fr) !important;
    column-gap: clamp(12px, 2vw, 30px) !important;
    align-items: center !important;
  }

  .elecar-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .elecar-nav {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: static !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    transform: none !important;
    overflow: visible !important;
    gap: clamp(10px, 1.8vw, 30px) !important;
  }

  .elecar-language {
    grid-column: 3 !important;
    grid-row: 1 !important;
    position: static !important;
    justify-self: end !important;
    transform: none !important;
    min-width: 0 !important;
  }

  /* At intermediate desktop widths, reduce spacing before the layout needs
   * to switch to the existing two-row tablet header. */
  .elecar-nav-item > a,
  .elecar-nav-item > span {
    white-space: nowrap !important;
  }
}

@media (min-width: 851px) and (max-width: 1150px) {
  .elecar-header-row {
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr) minmax(72px, 82px) !important;
    column-gap: 12px !important;
  }

  .elecar-nav {
    gap: 10px !important;
  }

  .elecar-nav-item > a,
  .elecar-nav-item > span {
    font-size: 15px !important;
    letter-spacing: 0 !important;
  }

  .elecar-brand-title .elecar-brand-zh b,
  .elecar-brand-title .elecar-brand-en b {
    font-size: 22px !important;
  }

  .elecar-brand-title .elecar-brand-zh i,
  .elecar-brand-title .elecar-brand-en i {
    font-size: 10px !important;
  }
}

/* Below this point a single desktop row cannot contain the full English
 * navigation and the brand without collisions.  Use a compact two-row bar;
 * the language switch remains on the right of the brand row and navigation
 * is centred on its own row. */
@media (min-width: 851px) and (max-width: 950px) {
  .elecar-header-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: 58px 48px !important;
    min-height: 106px !important;
  }

  .elecar-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .elecar-language {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .elecar-nav {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-content: center !important;
    gap: 14px !important;
  }

  .elecar-site {
    padding-top: 106px !important;
  }

  body.admin-bar .elecar-site {
    padding-top: 138px !important;
  }
}

/* Footer: company block on the left, three ordinary link columns on the
 * right.  No absolute positioning means long English labels cannot collide. */
.elecar-footer {
  display: grid !important;
  grid-template-columns: minmax(230px, 1.05fr) minmax(0, 2.95fr) !important;
  grid-template-rows: auto auto auto !important;
  column-gap: clamp(24px, 4vw, 64px) !important;
  row-gap: 28px !important;
  align-items: start !important;
}

.elecar-footer > div:first-child {
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
}

.elecar-footer-links-group {
  grid-column: 2 !important;
  grid-row: 1 !important;
  position: static !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(110px, .75fr) minmax(180px, 1.15fr) !important;
  gap: clamp(18px, 3vw, 48px) !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

.elecar-footer-links-group > div,
.elecar-footer-links-group .elecar-footer-about,
.elecar-footer-links-group .elecar-footer-links-plain,
.elecar-footer-links-group .elecar-footer-contact {
  position: static !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  width: auto !important;
  min-width: 0 !important;
  padding-left: 0 !important;
}

.elecar-footer-about > h3 {
  width: 100% !important;
  min-width: 0 !important;
  text-align: left !important;
}

.elecar-footer-about-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  column-gap: clamp(12px, 2vw, 28px) !important;
}

.elecar-footer-links-group p,
.elecar-footer-links-group a,
.elecar-footer > div:first-child p {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  white-space: normal !important;
}

.elecar-footer-cities {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
}

.elecar-copyright {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
}

@media (min-width: 851px) and (max-width: 1150px) {
  .elecar-footer {
    grid-template-columns: minmax(200px, .9fr) minmax(0, 2.1fr) !important;
    column-gap: 24px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .elecar-footer-links-group {
    grid-template-columns: minmax(0, 1.25fr) minmax(90px, .7fr) minmax(155px, 1fr) !important;
    gap: 16px !important;
  }

  .elecar-footer > div:first-child > p:not(.elecar-footer-mark),
  .elecar-footer-links-group p {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
}

/* Tablet/mobile: stack the company block and link group, then keep the link
 * group itself in columns until phone width. */
@media (max-width: 850px) {
  .elecar-footer {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    row-gap: 24px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .elecar-footer > div:first-child,
  .elecar-footer-links-group,
  .elecar-footer-cities,
  .elecar-copyright {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .elecar-footer-links-group {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .elecar-footer-links-group > div {
    width: auto !important;
  }
}

@media (max-width: 520px) {
  .elecar-footer-links-group {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .elecar-footer-about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 14px !important;
  }
}

/* Keep the two About Us link lists visually together on the wide footer.
 * Equal-width tracks made the second list drift far to the right even when
 * its labels were short.  Content-sized tracks preserve a compact pair while
 * the intermediate-width rule below keeps the layout safe on smaller screens.
 */
@media (min-width: 1151px) {
  .elecar-footer-about-grid {
    grid-template-columns: max-content max-content !important;
    column-gap: clamp(18px, 1.6vw, 30px) !important;
    width: max-content !important;
    max-width: 100% !important;
  }
}

@media (min-width: 851px) and (max-width: 1150px) {
  .elecar-footer-about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
  }
}

/* Keep the bilingual brand as one uninterrupted inline unit.  In a narrow
 * flex row the default shrink behaviour can push the Chinese name below
 * ELECAR; flex-basis: auto and nowrap keep it immediately to the right. */
.elecar-brand-title a {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.elecar-brand-title .elecar-brand-zh,
.elecar-brand-title .elecar-brand-en {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

@media (max-width: 850px) {
  /* A compact, predictable mobile header: 58px brand row + 44px nav row. */
  .elecar-header-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-content: flex-start !important;
    min-height: 102px !important;
    height: 102px !important;
    padding-top: 0 !important;
  }

  .elecar-brand {
    order: 1 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 58px !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .elecar-brand-title {
    max-width: 100% !important;
    overflow: visible !important;
  }

  .elecar-brand-title a {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 6px !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .elecar-nav {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    align-items: center !important;
    padding: 0 5px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    justify-content: center !important;
  }

  .elecar-language {
    position: absolute !important;
    top: 14px !important;
    right: 6px !important;
    z-index: 5 !important;
  }

  .elecar-site {
    padding-top: 102px !important;
  }

  body.admin-bar .elecar-site {
    padding-top: 148px !important;
  }
}

@media (max-width: 520px) {
  .elecar-header-row {
    min-height: 98px !important;
    height: 98px !important;
  }

  .elecar-brand {
    height: 56px !important;
    justify-content: flex-start !important;
    padding-right: 70px !important;
    padding-left: 12px !important;
  }

  .elecar-nav {
    min-height: 42px !important;
    height: 42px !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .elecar-site {
    padding-top: 98px !important;
  }

  body.admin-bar .elecar-site {
    padding-top: 144px !important;
  }
}

/* The compact mobile navigation remains horizontally swipeable, but its
 * native horizontal/vertical scrollbar chrome should not be visible in the
 * header. */
.elecar-nav {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.elecar-nav::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.elecar-careers-contact {
  margin: -12px auto 26px !important;
  color: #665946 !important;
  font: 400 16px/1.5 Georgia, "Microsoft YaHei", serif !important;
  letter-spacing: .02em;
  text-align: center;
}

/* Reduce the Qingming panorama height consistently across breakpoints while
 * keeping the image fully filled and horizontally animated. */
.elecar-qingming {
  height: 180px !important;
}

@media (max-width: 850px) {
  .elecar-qingming {
    height: 150px !important;
  }
}

@media (max-width: 520px) {
  .elecar-qingming {
    height: 120px !important;
  }
}

/* Show the complete long panorama while it travels across the footer.  The
 * previous 92vw/object-fit:cover rule scaled the 9936px-wide artwork to the
 * viewport height and cropped most of its left/right content.  Keeping each
 * copy at its natural aspect ratio and moving exactly half of the duplicated
 * track produces a seamless start-to-end loop at every screen size. */
.elecar-qingming-track {
  width: max-content !important;
  max-width: none !important;
  animation-name: elecar-landscape-complete !important;
  animation-iteration-count: 1 !important;
  animation-fill-mode: forwards !important;
}
.elecar-qingming-track img {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: contain !important;
}
@keyframes elecar-landscape-complete {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% + 92vw)); }
}

/* Mobile dropdowns must be able to extend below the navigation row.  Do not
 * use overflow-x:auto here: CSS pairs it with vertical auto overflow, which
 * clips the submenu and makes the page content appear above the menu. */
@media (max-width: 850px) {
  .elecar-header,
  .elecar-header-row,
  .elecar-nav {
    overflow: visible !important;
  }

  .elecar-nav {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .elecar-nav-item--dropdown {
    z-index: 2147483001 !important;
  }

  .elecar-nav-item--dropdown .elecar-submenu {
    z-index: 2147483002 !important;
    top: 100% !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .elecar-nav-item--dropdown .elecar-submenu::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
  }

  /* Edge-safe mobile placement: the left dropdown opens from the left edge
   * and the right dropdown from the right edge, instead of centring a wide
   * card on a small trigger and pushing half of it off-screen. */
  .elecar-nav-item--about .elecar-submenu {
    left: 4px !important;
    right: auto !important;
    width: min(360px, calc(100vw - 16px)) !important;
    transform: translateY(-8px) !important;
  }

  .elecar-nav-item--right .elecar-submenu {
    right: 4px !important;
    left: auto !important;
    width: min(360px, calc(100vw - 16px)) !important;
    transform: translateY(-8px) !important;
  }

  .elecar-nav-item--about:hover .elecar-submenu,
  .elecar-nav-item--about:focus-within .elecar-submenu,
  .elecar-nav-item--right:hover .elecar-submenu,
  .elecar-nav-item--right:focus-within .elecar-submenu {
    transform: translateY(0) !important;
  }

  .elecar-nav-item--dropdown .elecar-submenu a {
    min-height: 36px !important;
    padding: 7px 10px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .elecar-nav-item--dropdown .elecar-submenu {
    gap: 5px !important;
    padding: 8px !important;
  }
}

@media (max-width: 600px) {
  .elecar-nav {
    gap: 8px !important;
    justify-content: center !important;
  }

  .elecar-nav-item > a,
  .elecar-nav-item > span {
    font-size: 13px !important;
  }
}

/* Keep both top-level dropdowns consistent on mobile: About Us and Contact
 * Us use the same compact card sizing, while each opens toward its safe
 * screen edge. */
@media (max-width: 850px) {
  .elecar-nav-item--about .elecar-submenu,
  .elecar-nav-item--right .elecar-submenu {
    width: min(360px, calc(100vw - 16px)) !important;
    padding: 8px !important;
    gap: 5px !important;
  }

  .elecar-nav-item--about .elecar-submenu a,
  .elecar-nav-item--right .elecar-submenu a {
    min-height: 36px !important;
    padding: 7px 10px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .elecar-nav {
    justify-content: center !important;
  }
}

@media (max-width: 400px) {
  .elecar-nav {
    gap: 5px !important;
  }

  .elecar-nav-item > a,
  .elecar-nav-item > span {
    font-size: 11px !important;
  }
}

/* Trade News document layout */
.elecar-trade-news {
  width: min(1180px, calc(100% - 8vw));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 72px) 0 80px;
}
.elecar-trade-news-header {
  max-width: 820px;
  margin: 0 auto clamp(28px, 4vw, 54px);
  text-align: center;
}
.elecar-trade-news-header h1 {
  margin: 0 0 14px;
  color: #171a17;
  font: 400 clamp(32px, 5vw, 62px)/1.08 Georgia, "Noto Serif SC", serif;
}
.elecar-trade-news-header > p:last-child {
  margin: 0;
  color: #626b62;
  font-size: 15px;
  line-height: 1.7;
}
.elecar-trade-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.elecar-trade-news-article {
  min-width: 0;
  padding: clamp(20px, 2.8vw, 34px);
  background: #fff;
  border: 1px solid #e4e7e1;
  box-shadow: 0 10px 28px rgba(33, 39, 31, .07);
}
.elecar-trade-news-article h2 {
  margin: 0 0 18px;
  color: #1b1f1a;
  font: 400 clamp(21px, 2vw, 30px)/1.3 Georgia, "Noto Serif SC", serif;
}
.elecar-trade-news-article p {
  margin: 0 0 13px;
  color: #4f5b50;
  font-size: 15px;
  line-height: 1.85;
  text-align: justify;
}
.elecar-trade-news-article figure {
  margin: 0 0 18px;
  text-align: center;
}
.elecar-trade-news-article figure img {
  display: block;
  width: min(100%, 460px);
  height: auto;
  max-height: 300px;
  margin: 0 auto;
  object-fit: contain;
}
.elecar-trade-news-empty {
  grid-column: 1 / -1;
  padding: 42px 24px;
  border: 1px solid #e4e7e1;
  text-align: center;
}
@media (max-width: 760px) {
  .elecar-trade-news { width: min(100% - 28px, 620px); padding-top: 28px; }
  .elecar-trade-news-list { grid-template-columns: 1fr; gap: 16px; }
  .elecar-trade-news-article { padding: 22px 18px; }
  .elecar-trade-news-article p { font-size: 14px; line-height: 1.75; }
}
