/*
Theme Name: Starplas Future
Theme URI: https://www.starplas.com.cn/
Author: Starplas
Description: A modern, responsive block theme for Starplas PVC additive manufacturing.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: starplas-future
*/

:root{--sp-green:#39b54a;--sp-ink:#182238;--sp-muted:#718096;--sp-navy:#17192d;--sp-pale:#f4f6f8}
/* Keep the theme's visual system active even when the site editor has stored block styles. */
body{font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.65;color:var(--sp-ink)}
body .wp-site-blocks{margin:0}
body .wp-block-group.alignfull,body .wp-block-cover.alignfull{max-width:none}
body .wp-block-navigation a,body .wp-block-site-title a{color:inherit}
body .wp-block-site-logo img{max-height:42px;width:auto}
.sp-header>.wp-block-group{max-width:1320px;margin-inline:auto;gap:32px}
.sp-header .wp-block-site-logo{flex:0 0 auto}
.sp-header .wp-block-site-title{margin-right:auto;font-size:22px;font-weight:800;letter-spacing:-1px;color:#fff}
.sp-header .wp-block-site-title a{text-decoration:none}
.sp-header .wp-block-navigation{margin-left:auto}
html{scroll-behavior:smooth}
body{color:var(--sp-ink)}
a{transition:color .2s ease,background-color .2s ease,transform .2s ease}
.wp-site-blocks{overflow:hidden}
.sp-header{position:absolute;z-index:5;top:0;left:0;right:0;color:#fff;}
.sp-header a{color:inherit;text-decoration:none}
.sp-header .wp-block-navigation-item__content:hover{color:#72d17d}
.sp-logo{font-size:22px;font-weight:800;letter-spacing:-1px;color:#fff!important}
.sp-logo em{font-style:normal;color:var(--sp-green)}

.sp-button .wp-element-button{background:var(--sp-green);border-radius:2px;padding:14px 24px;font-weight:700}
.sp-button .wp-element-button:hover{background:#249b36;transform:translateY(-2px)}
.sp-section{padding-top:100px!important;padding-bottom:100px!important}
.sp-about-grid{gap:64px;align-items:center}
.sp-about-image img{width:100%;height:390px;object-fit:cover;border-radius:4px}
.sp-stats{border-top:1px solid #e8ebef;margin-top:28px;padding-top:22px}
.sp-stats strong{display:block;color:var(--sp-green);font-size:34px;line-height:1.1}
.sp-stats p{font-size:11px;color:var(--sp-muted);margin:5px 0}
.sp-products{color:#fff;background:linear-gradient(0deg,rgba(9,18,31,.65),rgba(9,18,31,.1));}
.sp-products h2,.sp-products .sp-kicker{text-align:center}
.sp-products .wp-block-cover__inner-container{margin:auto}
.sp-product-grid{margin-top:100px!important;gap:12px}
.sp-product-card{background:rgba(255,255,255,.94);color:var(--sp-ink);padding:22px!important;text-align:center;border-bottom:3px solid var(--sp-green);min-height:125px}
.sp-product-card a{color:inherit;text-decoration:none}
.sp-product-card .sp-number{color:var(--sp-green);font-weight:800;font-size:24px}
.sp-map{background:#f1f3f5}
.sp-map-image img{width:100%;max-height:400px;object-fit:contain}
.sp-rnd{color:#fff;background:linear-gradient(90deg,rgba(10,23,36,.75),rgba(10,23,36,.34)),url('https://images.unsplash.com/photo-1582719471384-894fbb16e074?auto=format&fit=crop&w=2200&q=85') center/cover no-repeat}
.sp-rnd .sp-kicker{color:#7de087}
.sp-rnd-stats strong{font-size:30px;color:#fff}
.sp-partners .sp-partner{background:#f7f8fa;padding:28px 12px;text-align:center;color:#8a94a3;font-size:13px;min-height:82px;display:grid;place-items:center}
.sp-partners>.wp-block-columns{gap:14px;margin-top:14px}
.sp-news{background:#f7f8fa}
.sp-news-card{background:#fff;border:1px solid #edf0f2;height:100%}
.sp-news-card img{width:100%;height:190px;object-fit:cover}
.sp-news-card .wp-block-group{padding:20px}
.sp-news-card a{color:inherit;text-decoration:none}
.sp-footer{background:var(--sp-navy);color:#d6d9e2;padding-top:64px!important;padding-bottom:24px!important}
.sp-footer h3{color:#fff;font-size:15px}
.sp-footer a{color:#c6cad5;text-decoration:none}
.sp-footer a:hover{color:#71d17d}
.sp-footer .sp-logo{color:#fff!important}
.sp-footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:44px;padding-top:18px;font-size:11px;color:#9297a8}
.wp-block-post-template{gap:24px}
@media(max-width:781px){.sp-header{position:absolute}.sp-header>.wp-block-group{padding:16px 20px!important;gap:12px}.sp-header .wp-block-site-title{font-size:18px}.sp-header .wp-block-site-logo img{max-height:34px}.sp-header .wp-block-navigation{background:rgba(20,27,43,.96);padding:14px;border-radius:4px}.sp-section{padding-top:64px!important;padding-bottom:64px!important}.sp-about-grid{gap:28px}.sp-about-image img{height:280px}.sp-product-grid{margin-top:44px!important}.sp-rnd .wp-block-columns{gap:20px}.sp-footer .wp-block-columns{gap:28px}.sp-news-card img{height:220px}}
