/* Shared interior-page system: real catalog data and existing form handlers. */
.yuanh-main-header .yh-header-phone{order:25;display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-size:12px;white-space:nowrap}
.yh-header-phone svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.4}
.yuanh-main-header{gap:16px!important}
.yuanh-main-header .yuanh-main-nav .wp-block-navigation-item__content{font-size:15px;font-weight:500}
.yuanh-main-header .yh-search-open{font-size:14px;font-weight:500;gap:10px;padding:10px 14px;border:1px solid #ffffff40;background:#ffffff0d;border-radius:8px;min-height:42px;box-sizing:border-box}
.yuanh-main-header .yh-search-open:hover,.yuanh-main-header .yh-search-open:focus-visible{background:#ffffff20;border-color:#ffffff90}
@media(min-width:1251px){.yuanh-main-header .yh-header-phone{font-size:14px}.yuanh-main-header .yh-search-open span{display:inline}}
@media(min-width:1100px) and (max-width:1250px){.yuanh-main-header .yh-search-open span{display:inline}.yuanh-main-header .yh-search-open{font-size:13px;padding-inline:10px}}
@media(max-width:700px){.yuanh-main-header .yh-search-open{width:40px;height:40px;min-height:40px;padding:9px;justify-content:center}}
.yuanh-main-header>p:has(.yh-header-phone){order:25;margin:0;flex-shrink:0}
.wp-site-blocks>main:has(.yh-contact-page),.wp-site-blocks>main:has(.yh-blog-page){padding-inline:40px!important}
.wp-site-blocks>main:has(.yh-contact-page)>*,.wp-site-blocks>main:has(.yh-blog-page)>*{max-width:1280px!important;margin-inline:auto}
.wp-block-post-content>.yh-contact-page,.wp-block-post-content>.yh-blog-page{max-width:1280px!important}
.yh-blog-photo img{contain-intrinsic-size:none}
.single-vehicle .yuanh-spec-grid>div{flex-direction:row}
.single-vehicle .yuanh-spec-grid span{font-size:12px;text-transform:none;letter-spacing:normal;margin:0}
.single-vehicle .yuanh-spec-grid b{font-size:13px}
@media(max-width:800px){.yuanh-main-header>p:has(.yh-header-phone){display:none}.wp-site-blocks>main:has(.yh-contact-page),.wp-site-blocks>main:has(.yh-blog-page){padding-inline:20px!important}}
.yh-contact-page,.yh-blog-page{max-width:1280px;margin-inline:auto}
.yh-page-intro{max-width:620px;margin:0 0 48px;color:#626775;font-size:16px;line-height:1.7}
.yh-contact-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:72px;align-items:start;margin-bottom:64px}
.yh-contact-grid h2{font-size:26px;line-height:1.3;margin:0 0 24px}
.yh-contact-info{border:1px solid #e5e7ee;border-radius:18px;padding:32px}
.yh-contact-info h3{font-size:16px;font-weight:600;margin:30px 0 10px}
.yh-contact-info p{font-size:14px;line-height:1.75;color:#626775;overflow-wrap:anywhere}
.yh-contact-info a{color:#11182c;text-decoration:none}
.yh-contact-page form{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.yh-contact-page form input:not([type=checkbox]):not([type=hidden]),.yh-contact-page form textarea{border:1px solid #dfe3ec;border-radius:9px;background:white;color:#11182c;padding:12px;box-sizing:border-box;font-size:15px}
.yh-contact-page form button[type=submit]{background:#356fe4;color:white;border-radius:9px;min-height:46px;width:100%;border:0}
.yh-location{margin:48px 0 0}
.yh-location h2{font-size:26px;margin:0 0 22px}
.yh-location iframe{display:block;width:100%;height:320px;border:1px solid #e5e7ee;border-radius:16px;background:#f6f8fc}
.yh-location-caption{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:14px}
.yh-location-caption p{font-size:13px;color:#626775;line-height:1.6;margin:0}
.yh-location-caption a{font-size:13px;color:#356fe4;white-space:nowrap}
.yh-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 24px}
.yh-blog-photo{display:block;aspect-ratio:16/10;border-radius:16px;overflow:hidden;background:#f6f8fc}
.yh-blog-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.yh-blog-photo:hover img{transform:scale(1.025)}
.yh-blog-meta{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;font-size:11px;color:#626775;margin-top:20px}
.yh-blog-meta a{color:#356fe4;text-decoration:none}
.yh-blog-card h2{font-size:22px!important;font-weight:600!important;line-height:1.4;margin:12px 0}
.yh-blog-card h2 a{color:#11182c;text-decoration:none}
.yh-blog-card>p{font-size:14px;line-height:1.7;color:#626775;margin:0}
.yh-blog-pagination{margin-top:40px;display:flex;gap:16px}
.single-post .wp-site-blocks>main{padding-top:64px!important;padding-bottom:72px!important}
.single-post .wp-block-post-title{font-size:clamp(28px,3.4vw,48px);line-height:1.2;max-width:880px!important;margin-block:24px}
.single-post .wp-block-post-featured-image{max-width:1060px!important;border-radius:20px;overflow:hidden}
.single-post .wp-block-post-content{font-size:16px;line-height:1.85;max-width:760px!important}
.single-post .wp-block-post-content h2{font-size:28px;margin-top:40px}
.single-vehicle .yuanh-detail{max-width:1080px;box-sizing:border-box;margin:auto;padding:40px 24px 72px}
.single-vehicle .yuanh-detail-main{display:block;background:transparent;border:0;padding:0}
.single-vehicle .yh-detail-hero{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:32px;align-items:stretch}
.single-vehicle .yh-detail-hero .yuanh-gallery{min-width:0;align-self:start}
.single-vehicle .yh-detail-hero .yuanh-summary{position:static;box-sizing:border-box;margin:0;display:flex;flex-direction:column}
.single-vehicle .yh-detail-hero .yuanh-cta-group{margin-top:auto;padding-top:20px}
.single-vehicle .yh-detail-hero .yuanh-status-line{align-self:flex-start}
.single-vehicle .yh-detail-hero .yuanh-cta-group a{width:100%;box-sizing:border-box}
.single-vehicle .yh-detail-body{margin-top:40px}
@media(min-width:1001px){
 .single-vehicle .yh-detail-hero .yuanh-carousel{position:relative;padding-right:84px;box-sizing:border-box;width:100%}
 .single-vehicle .yh-detail-hero .yuanh-carousel:not(:has(.yuanh-carousel-thumbs)){padding-right:0}
 .single-vehicle .yh-detail-hero .yuanh-carousel-stage{max-height:none;width:100%;height:auto;aspect-ratio:1}
 .single-vehicle .yh-detail-hero .yuanh-carousel-thumbs{position:absolute;right:0;top:0;bottom:0;width:72px;margin:0;display:flex;flex-direction:column;gap:10px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
 .single-vehicle .yh-detail-hero .yuanh-carousel-thumbs button{width:72px;height:72px;flex:0 0 72px;padding:0;box-sizing:border-box}
 .single-vehicle .yh-detail-hero .yuanh-carousel-thumbs img{width:100%;height:100%;object-fit:contain;contain-intrinsic-size:none}
}
@media(max-width:1000px){.single-vehicle .yh-detail-hero{grid-template-columns:1fr}.single-vehicle .yh-detail-hero .yuanh-summary{order:0}.single-vehicle .yh-detail-body{margin-top:28px}}
.single-vehicle .yh-detail-body{min-width:0}
.single-vehicle .yuanh-summary{position:sticky;top:28px;border:1px solid #e5e7ee;border-radius:18px;background:#fff;padding:28px;box-shadow:none;min-width:0}
.single-vehicle .yuanh-summary h1{font-size:32px;line-height:1.25;letter-spacing:normal;margin:12px 0}
.single-vehicle .yuanh-status-line{display:inline-block;font-size:11px;padding:5px 10px;border-radius:20px;background:#f6f8fc;margin:0}
.single-vehicle .yuanh-summary .yuanh-spec-line,.single-vehicle .yuanh-summary .yuanh-detail-line{font-size:13px;line-height:1.7;color:#626775}
.single-vehicle .yuanh-price{padding-top:20px;margin-top:20px;border-top:1px solid #e5e7ee}
.single-vehicle .yuanh-price strong{font-size:30px;line-height:1.3}
.single-vehicle .yuanh-cta-group{display:flex;flex-direction:column;gap:10px}
.single-vehicle .yuanh-cta-primary,.single-vehicle .yuanh-cta-link{padding:12px 16px;border-radius:8px;text-align:center;font-size:14px;text-decoration:none}
.single-vehicle .yuanh-cta-primary{background:#356fe4;color:#fff}
.single-vehicle .yuanh-cta-link{border:1px solid #dce2eb;color:#356fe4}
.single-vehicle .yuanh-updated-note{font-size:11px;color:#626775}
.single-vehicle .yuanh-carousel-stage{aspect-ratio:1;min-height:0;max-height:680px;border-radius:16px;background:#f6f8fc}
.single-vehicle .yuanh-carousel-stage figure,.single-vehicle .yuanh-carousel-stage img{height:100%;width:100%;margin:0;object-fit:contain;contain-intrinsic-size:none}
.single-vehicle .yuanh-carousel-thumbs{display:flex;overflow-x:auto;gap:10px;margin-top:12px}
.single-vehicle .yuanh-carousel-thumbs button{flex:0 0 72px;height:64px;border-radius:8px;overflow:hidden}
.single-vehicle .yuanh-spec-section,.single-vehicle .yuanh-inspection,.single-vehicle .yuanh-editor-content,.single-vehicle .yuanh-more-photos{margin-top:40px;padding:0;border:0;background:transparent}
.single-vehicle .yh-detail-body h2{font-size:26px;line-height:1.35;margin-bottom:20px}
.single-vehicle .yuanh-spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;border:0;background:transparent}
.single-vehicle .yuanh-spec-grid>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:13px 0;border:0;border-bottom:1px solid #e5e7ee;background:transparent;min-width:0;font-size:13px}
.single-vehicle .yuanh-spec-grid span{color:#626775;flex:0 0 42%}
.single-vehicle .yuanh-spec-grid b{text-align:end;font-weight:500;overflow-wrap:anywhere}
.single-vehicle .yuanh-more-photos-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.single-vehicle .yuanh-more-photos-grid img{width:100%;height:auto;border-radius:10px}
.single-vehicle .yuanh-features{padding:24px 0;margin:0;border:0;background:transparent}
.single-vehicle .yuanh-related-vehicles{margin-top:64px}
.single-vehicle .yuanh-related-vehicles .yuanh-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
@media(max-width:1250px){.yuanh-main-header .yh-header-phone{font-size:0;gap:0}.yh-header-phone svg{width:22px;height:22px}.yh-contact-grid{gap:36px}}
@media(max-width:800px){.yuanh-main-header .yh-header-phone{display:none}.yh-contact-grid{grid-template-columns:1fr;gap:32px}.yh-contact-info{padding:24px}.yh-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.single-vehicle .yuanh-detail-main{display:flex;flex-direction:column;gap:28px}.single-vehicle .yuanh-summary{position:static;order:-1;width:100%;box-sizing:border-box}.single-vehicle .yuanh-detail{padding:24px 20px 48px}.single-vehicle .yuanh-summary h1{font-size:28px}.single-vehicle .yh-detail-body{width:100%}.yh-page-intro{font-size:14px;margin-bottom:30px}}
@media(max-width:500px){.yh-blog-grid{grid-template-columns:1fr;gap:32px}.yh-blog-card h2{font-size:21px!important}.yh-location iframe{height:250px}.yh-location-caption{align-items:start;flex-direction:column;gap:10px}.single-vehicle .yuanh-spec-grid{grid-template-columns:1fr}.single-vehicle .yuanh-related-vehicles .yuanh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.single-vehicle .yuanh-summary{padding:22px}.single-vehicle .yh-detail-body h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.yh-blog-photo img{transition:none}.yh-blog-photo:hover img{transform:none}}

/* Empty inventory is a compact, useful state, not a second inquiry landing page. */
.post-type-archive-vehicle .yuanh-no-results{box-sizing:border-box;padding:40px 24px;background:#f7f8fb;border:1px solid #e5e7ee;border-radius:16px;text-align:center}
.post-type-archive-vehicle .yuanh-no-results h3{max-width:600px;margin:0 auto 12px;font-size:28px;line-height:1.3;font-weight:600;letter-spacing:normal}
.post-type-archive-vehicle .yuanh-no-results>p{max-width:520px;margin:0 auto 24px;font-size:15px;line-height:1.7;color:#626775}
.post-type-archive-vehicle .yuanh-no-results-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:0}
.post-type-archive-vehicle .yuanh-no-results-actions a{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border-radius:8px;font-size:14px;line-height:1.4;font-weight:500;text-decoration:none;box-shadow:none}
.post-type-archive-vehicle .yuanh-no-results-actions .is-clear{background:#356fe4;border:1px solid #356fe4;color:#fff}
.post-type-archive-vehicle .yuanh-no-results-actions .is-whatsapp{background:#fff;border:1px solid #dce2eb;color:#172238}
@media(max-width:700px){
 .post-type-archive-vehicle .yuanh-no-results{padding:28px 20px;border-radius:14px}
 .post-type-archive-vehicle .yuanh-no-results h3{font-size:22px;line-height:1.35;margin-bottom:12px}
 .post-type-archive-vehicle .yuanh-no-results>p{font-size:14px;line-height:1.65;margin-bottom:20px}
 .post-type-archive-vehicle .yuanh-no-results-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .post-type-archive-vehicle .yuanh-no-results-actions a{font-size:13px;padding:10px 8px;min-width:0;overflow-wrap:anywhere}
}
