/* JAECOO v6.1.7 — targeted visual and interaction polish. */

.post-card-grid--three{
  scroll-behavior:smooth;
  scrollbar-width:none;
}
.post-card-grid--three::-webkit-scrollbar{display:none}
.post-card--managed .post-card-visual:after{
  background:linear-gradient(180deg,rgba(2,9,10,.025),rgba(2,9,10,.28));
}
.post-card--managed .post-card-overlay{
  left:14px;
  right:14px;
  max-height:43%;
  padding:9px 12px;
  background:rgba(33,44,47,.46);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 8px 24px rgba(0,0,0,.10);
  backdrop-filter:blur(12px) saturate(120%);
  -webkit-backdrop-filter:blur(12px) saturate(120%);
}
.post-card--managed .post-card-overlay--top{top:22px}
.post-card--managed .post-card-overlay--bottom{bottom:10px}
.post-card--managed .post-card-overlay h3{
  margin:0 0 4px!important;
  font-size:14px!important;
  line-height:1.22!important;
  letter-spacing:-.018em!important;
}
.post-card--managed .post-card-overlay p{
  font-size:11px;
  line-height:1.4;
  color:rgba(255,255,255,.88);
}
.post-card--managed .post-card-below{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(145deg,#fff 0%,#fff 70%,#effcfc 100%);
}
.post-card--managed .post-card-below:after{
  content:"";
  position:absolute;
  z-index:-1;
  right:-42px;
  bottom:-52px;
  width:120px;
  height:120px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(30,202,211,.22),rgba(30,202,211,0) 68%);
  pointer-events:none;
}
.post-card--managed .post-card-below h3{font-size:15px!important}

.youtube-guide-title{
  display:inline-flex;
  align-items:center;
  gap:9px;
}
.youtube-guide-title img{
  display:block;
  width:24px;
  height:17px;
  object-fit:contain;
  flex:0 0 auto;
}

.v616-garage-form [data-v616-vehicle-dependent]{
  transition:opacity .22s ease,filter .22s ease,transform .22s ease;
}
.v616-garage-form [data-v616-vehicle-dependent].is-activated{
  animation:j617FieldReady .38s ease both;
}
@keyframes j617FieldReady{
  from{opacity:.55;transform:translateY(4px)}
  to{opacity:1;transform:none}
}
.v616-owner-cta button{white-space:nowrap}


.j617-delay-0{--j617-delay:0ms}
.j617-delay-1{--j617-delay:45ms}
.j617-delay-2{--j617-delay:90ms}
.j617-delay-3{--j617-delay:135ms}
.j617-delay-4{--j617-delay:180ms}

.j617-reveal{
  opacity:0;
  transform:translate3d(0,18px,0);
  transition:opacity .52s cubic-bezier(.2,.7,.2,1) var(--j617-delay,0ms),transform .52s cubic-bezier(.2,.7,.2,1) var(--j617-delay,0ms);
  will-change:opacity,transform;
}
.j617-reveal.is-visible{
  opacity:1;
  transform:translate3d(0,0,0);
}

@media (min-width:761px){
  .post-card-grid--three{
    display:flex!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory;
    gap:16px;
    padding:2px 2px 12px;
  }
  .post-card-grid--three .post-card{
    flex:0 0 calc((100% - 32px)/3);
    min-width:calc((100% - 32px)/3);
    scroll-snap-align:start;
  }
}

@media(max-width:760px){
  .post-card--managed .post-card-overlay{left:11px;right:11px;padding:9px 11px}
  .post-card--managed .post-card-overlay--bottom{bottom:9px}
  .post-card--managed .post-card-overlay h3{font-size:13.5px!important}
  .v616-owner-cta button{white-space:normal}
}

@media(prefers-reduced-motion:reduce){
  .j617-reveal,.j617-reveal.is-visible{opacity:1;transform:none;transition:none}
  .v616-garage-form [data-v616-vehicle-dependent].is-activated{animation:none}
  .post-card-grid--three{scroll-behavior:auto}
}


/* v6.1.9 — truthful registered-owner total below community statistics */
.v619-owner-total{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  width:100%;
  margin:10px 0 18px;
  padding:10px 14px;
  border:1px solid rgba(30,202,211,.22);
  border-radius:14px;
  background:linear-gradient(110deg,rgba(30,202,211,.09),rgba(255,255,255,.94) 58%,rgba(16,25,27,.035));
  box-shadow:0 8px 22px rgba(16,25,27,.045);
  color:#5f6d70;
  font-size:13px;
  line-height:1.35;
  text-align:center;
}
.v619-owner-total strong{
  color:#10191b;
  font-size:16px;
  font-weight:800;
  letter-spacing:-.02em;
}
.v619-owner-total__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  flex:0 0 26px;
  border-radius:9px;
  background:#1ecad3;
  color:#fff;
}
.v619-owner-total__icon svg{width:15px;height:15px;display:block}
@media (max-width:359px){
  .v619-owner-total{gap:5px;padding:9px 10px;font-size:12px;flex-wrap:wrap}
  .v619-owner-total strong{font-size:15px}
}


/* ==========================================================
 * JAECOO v6.2.4 — verified lightweight UI refinements
 * Applied in the existing late-loaded stylesheet to avoid stale/unused selectors.
 * ========================================================== */

/* All homepage CARD titles: compact, elegant and one line. Hero and section headings are intentionally excluded. */
html body.home .hero-actions .quick-tile > strong,
html body.home .post-card-grid .post-card h3,
html body.home .vehicle-cards .vehicle-card > strong,
html body.home .topic-grid > a > strong,
html body.home .youtube-video-track .youtube-video-card > strong,
html body.home .engagement-grid .engage-card > strong,
html body.home .compare-strip > a > span,
html body.home .community-strip > a > span > strong,
html body.home .service-list > a > strong,
html body.home .doc-list > a > strong,
html body.home .reader-path-card > a > span {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.18 !important;
  letter-spacing: -.015em !important;
  font-weight: 700 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
html body.home .hero-actions .quick-tile > strong { font-size: clamp(11px, 1.05vw, 13px) !important; }
html body.home .post-card-grid .post-card h3 { font-size: clamp(13px, 1.15vw, 15px) !important; margin: 0 !important; }
html body.home .vehicle-cards .vehicle-card > strong,
html body.home .topic-grid > a > strong,
html body.home .youtube-video-track .youtube-video-card > strong,
html body.home .engagement-grid .engage-card > strong,
html body.home .compare-strip > a > span,
html body.home .community-strip > a > span > strong,
html body.home .service-list > a > strong,
html body.home .doc-list > a > strong,
html body.home .reader-path-card > a > span { font-size: clamp(12px, 1.15vw, 14px) !important; }
html body.home .community-strip > a > span { min-width: 0 !important; }
html body.home .community-strip > a > span > small { display: block !important; }

/* Lightweight premium vehicle-photo treatment: no duplicate image, blur or runtime observer. */
html body .v412-vehicle-card figure.has-custom-vehicle-photo,
html body .v609-garage-photo.has-custom-vehicle-photo {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(145deg, #f7f9f9 0%, #e8eff0 58%, #dce6e7 100%) !important;
  border: 1px solid rgba(16,25,27,.07) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 28px rgba(16,25,27,.07) !important;
}
html body .v412-vehicle-card figure.has-custom-vehicle-photo::after,
html body .v609-garage-photo.has-custom-vehicle-photo::after {
  content: "";
  position: absolute;
  left: 14%; right: 14%; bottom: 7%; height: 13%;
  border-radius: 50%;
  background: rgba(16,25,27,.13);
  filter: blur(8px);
  transform: scaleY(.42);
  pointer-events: none;
}
html body .v412-vehicle-card figure.has-custom-vehicle-photo > img,
html body .v609-garage-photo.has-custom-vehicle-photo > img {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 10px !important;
  filter: none !important;
  transform: none !important;
}

/* Prevent iOS Safari auto-zoom while preserving user pinch zoom. */
@media (max-width: 782px) {
  html body:not(.wp-admin) input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
  html body:not(.wp-admin) textarea,
  html body:not(.wp-admin) select {
    font-size: 16px !important;
  }

  html body.home .hero-actions .quick-tile > strong { font-size: 11px !important; }
  html body.home .post-card-grid .post-card h3 { font-size: 13px !important; }
  html body.home .vehicle-cards .vehicle-card > strong,
  html body.home .topic-grid > a > strong,
  html body.home .youtube-video-track .youtube-video-card > strong,
  html body.home .engagement-grid .engage-card > strong,
  html body.home .compare-strip > a > span,
  html body.home .community-strip > a > span > strong,
  html body.home .service-list > a > strong,
  html body.home .doc-list > a > strong,
  html body.home .reader-path-card > a > span { font-size: 12px !important; }
}

/* ==========================================================
 * JAECOO v6.2.5 — homepage section heading typography
 * Section headings are compact, elegant and strictly one line.
 * Hero titles are intentionally excluded.
 * ========================================================== */
html body.home .content-left > .section-head,
html body.home .guide-panel > .section-head,
html body.home .popular-panel > .section-head,
html body.home .youtube-guide-panel > .section-head,
html body.home .engagement-hub--v18 > .section-head,
html body.home .service-map-card > .section-head,
html body.home .docs-card > .section-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 10px !important;
}

html body.home .section-head h2,
html body.home .community-strip h2,
html body.home .compare-strip h2,
html body.home .reader-path-card h2 {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: clamp(14px, 1.45vw, 18px) !important;
  line-height: 1.12 !important;
  font-weight: 850 !important;
  letter-spacing: -.025em !important;
}

html body.home .section-head.compact h2 {
  font-size: clamp(13px, 1.25vw, 16px) !important;
}

html body.home .section-head > a {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  font-size: 11px !important;
}

html body.home .youtube-guide-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
html body.home .youtube-guide-title img {
  flex: 0 0 auto !important;
  width: 21px !important;
  height: auto !important;
  max-height: 15px !important;
}
html body.home .youtube-guide-title span {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Decorative underline remains subtle under the compact heading. */
html body.home .section-head--clean h2::after {
  width: 34px !important;
  height: 2px !important;
  margin-top: 7px !important;
}

@media (max-width: 782px) {
  html body.home .section-head h2,
  html body.home .community-strip h2,
  html body.home .compare-strip h2,
  html body.home .reader-path-card h2 {
    font-size: 15px !important;
    line-height: 1.1 !important;
    font-weight: 820 !important;
  }
  html body.home .section-head.compact h2 {
    font-size: 14px !important;
  }
  html body.home .youtube-guide-title {
    gap: 7px !important;
    font-size: 13px !important;
  }
  html body.home .youtube-guide-title img {
    width: 20px !important;
    max-height: 14px !important;
  }
  html body.home .youtube-guide-panel > .section-head {
    column-gap: 8px !important;
  }
  html body.home .youtube-guide-panel > .section-head > a {
    font-size: 10px !important;
    gap: 3px !important;
  }
}

@media (max-width: 360px) {
  html body.home .section-head h2,
  html body.home .community-strip h2,
  html body.home .compare-strip h2,
  html body.home .reader-path-card h2 {
    font-size: 14px !important;
  }
  html body.home .section-head.compact h2 {
    font-size: 13px !important;
  }
  html body.home .youtube-guide-title {
    font-size: 12px !important;
    gap: 6px !important;
  }
  html body.home .youtube-guide-title img {
    width: 18px !important;
  }
}
