/*
Theme Name: 荣恒锻压 Rhjsgs
Theme URI: https://www.rhjsgs.com/
Author: 湖州荣恒锻压机床有限公司
Author URI: https://www.rhjsgs.com/
Description: 中国企业官网主题，适用于金属成形机床、锻压设备制造企业。支持自定义菜单、幻灯片、自定义Logo、小工具与简体中文。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rhjsgs
Tags: blog, e-commerce, portfolio, one-column, two-columns, right-sidebar, custom-logo, custom-menu, custom-header, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
*/
*{box-sizing:border-box;margin:0;padding:0}body{font-family:"Microsoft YaHei",sans-serif;color:#333;background:#fff}a{color:inherit;text-decoration:none}
.wrap{max-width:1200px;margin:0 auto;padding:0 15px}.topbar{background:#0b3c7d;color:#cfe0f7;font-size:13px;line-height:34px}
.header{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08)}.header .wrap{display:flex;align-items:center;justify-content:space-between;height:86px}
.logo b{font-size:26px;color:#0b3c7d}.logo small{display:block;font-size:10px;color:#888}
.nav ul{list-style:none;display:flex}.nav li a{display:block;padding:0 18px;line-height:86px;font-size:16px}.nav li a:hover,.nav .current-menu-item a{background:#0b3c7d;color:#fff}
.slider{position:relative;height:520px;overflow:hidden}.slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1s}.slide.on{opacity:1}
.slide .cap{position:absolute;left:12%;top:38%;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.5)}.slide h2{font-size:44px}.slide p{font-size:18px;margin-top:12px}
.sec{padding:60px 0}.sec h3{text-align:center;font-size:30px;color:#0b3c7d}.sec h3+p{text-align:center;color:#999;margin:6px 0 36px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card img{width:100%;height:220px;object-fit:cover}.card h4{padding:12px;font-size:18px}
.about{background:#f3f6fa}.about .wrap{display:flex;gap:40px;align-items:center}.about img{width:50%}
.news li{list-style:none;display:flex;justify-content:space-between;border-bottom:1px dashed #ddd;padding:12px 0}
.footer{background:#0a2142;color:#9fb1c9;padding:40px 0 20px;font-size:14px;line-height:2}.footer .copy{border-top:1px solid #1d3a63;margin-top:20px;padding-top:12px;text-align:center}
.content{padding:40px 0;line-height:1.9}.alignleft{float:left;margin-right:1em}.alignright{float:right;margin-left:1em}.aligncenter{display:block;margin:0 auto}
.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:13px;color:#777}.sticky{border-left:3px solid #0b3c7d;padding-left:10px}.bypostauthor{background:#fafafa}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
@media(max-width:768px){.grid{grid-template-columns:1fr}.nav{display:none}.about .wrap{flex-direction:column}.about img{width:100%}.slider{height:300px}.slide h2{font-size:28px}}
