/*
Theme Name: 国彤工业品牌官网
Theme URI: https://wordpress.org/
Author: Guotong
Description: 国彤官网定制主题。保留品牌视觉、轮播、滚动动画、响应式和独立内容页面，搭配国彤内容管理插件。
Version: 1.1.6
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: guotong-industrial
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* 原视觉样式位于 visual.css 与 pages.css；此文件负责 WordPress 适配。 */
.footer-filings{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 24px;padding:0 0 22px;color:#536779;font-size:13px;line-height:1.7}
.footer-filing{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;overflow-wrap:anywhere}
.footer-filing span{min-width:0}
.footer-filing img{display:block;flex:0 0 20px;width:20px;height:20px;object-fit:contain}
.footer-filing:hover{color:var(--blue);text-decoration:underline}
.footer-filing:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
@media(max-width:600px){.footer-filings{font-size:12px;gap:10px 16px}}
.admin-bar .header{top:32px}
@media(max-width:782px){.admin-bar .header{top:46px}}
@media(max-width:600px){.admin-bar .header.scrolled{top:0}}
.wp-content{line-height:1.9;overflow-wrap:anywhere}
.wp-content img{max-width:100%;height:auto}
.wp-content .wp-block-gallery{margin:28px 0}
.wp-content .wp-block-image{margin:24px 0}
.wp-content figure figcaption{font-size:13px;color:#677789}
.wp-content table{width:100%;border-collapse:collapse}
.wp-content td,.wp-content th{border:1px solid #dce4eb;padding:12px}
.wp-content iframe,.wp-content video{max-width:100%}
.page-numbers{display:inline-block;padding:10px 16px;margin:3px;border:1px solid #dce4eb;color:#175ab9}
.page-numbers.current{background:#175ab9;color:white}
.gt-empty{padding:40px 0;color:#647387}
.hero-pagination{max-width:min(66vw,600px);overflow:auto;scrollbar-width:none}
.hero-pagination button{flex-shrink:0}
.hero-bg{object-position:var(--focus-x,50%) var(--focus-y,50%)}
.hero-controls.only-slide .hero-prev,.hero-controls.only-slide .hero-next,.hero-controls.only-slide .hero-pause{display:none}
.hero-plain-title{font-size:clamp(44px,6vw,86px);font-weight:700;line-height:1.2}
/* Shared article lists render a fourth grid item when a cover is present. */
.article-list .article-row.has-image{grid-template-columns:48px 140px minmax(0,1fr) 24px}
.article-list .article-row>div{min-width:0;overflow-wrap:anywhere}
.article-row .article-thumbnail{width:140px;height:96px;object-fit:cover}
.product-tabs{min-width:0}
.product-tabs button{min-width:110px}
.home-case-empty{display:flex;align-items:center;justify-content:center;padding:50px;background:#eaf0f7;color:#365273}
@media(max-width:650px){.article-list .article-row.has-image{grid-template-columns:32px minmax(0,1fr) 22px}.article-list .article-row.has-image>.article-thumbnail{display:none}}
@media(max-width:600px){.article-list .article-row.has-image{grid-template-columns:35px minmax(0,1fr)}}
.gt-mobile-navigation{display:none}
@media(max-width:768px){
  html{scroll-padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  body{padding-bottom:calc(65px + env(safe-area-inset-bottom,0px))}
  .quick-contact{display:none}
  .gt-mobile-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:40;padding:0 env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);background:#fff;border-top:1px solid #dce4ed;box-shadow:0 -3px 16px #082e5b12}
  .gt-mobile-nav-link{min-width:0;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#48637e;font-size:12px;line-height:1.4;text-align:center;text-decoration:none;-webkit-tap-highlight-color:transparent}
  .gt-mobile-nav-link.is-active{color:var(--blue);background:#edf4fc}
  .gt-mobile-nav-link:hover{color:var(--blue)}
  .gt-mobile-nav-link:focus-visible{outline:2px solid var(--blue);outline-offset:-4px}
  .gt-mobile-nav-icon{display:block;width:24px;height:24px;flex-shrink:0}
  .gt-mobile-nav-icon svg,.gt-mobile-nav-icon img{display:block;width:100%;height:100%;object-fit:contain}
  .gt-mobile-nav-icon svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
}

/* Keep the editable company brand and mobile menu within narrow screens. */
@media(max-width:900px){.header .brand{min-width:0;flex:1 1 auto}.header .brand>span{min-width:0}.header .brand img{flex-shrink:0}.header .menu-toggle{flex:0 0 42px}}@media(max-width:600px){.header .brand img{width:40px;height:40px}.header .brand strong{display:block;font-size:clamp(14px,4vw,20px);letter-spacing:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header .brand small{display:-webkit-box;font-size:clamp(7px,1.7vw,8px);letter-spacing:.3px;line-height:1.3;margin-top:3px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}}

/* Article titles use a compact, balanced headline without changing other banners. */
.single-post .inner-hero{min-height:280px}
.single-post .inner-hero.has-image{min-height:340px}
.single-post .inner-hero-copy{padding-top:52px;padding-bottom:52px}
.single-post .inner-hero h1{font-size:clamp(28px,2.7vw,42px);font-weight:650;line-height:1.45;letter-spacing:.02em;max-width:1000px;text-wrap:balance}
.single-post .inner-hero .eyebrow{font-size:12px;letter-spacing:.18em;margin-bottom:16px}
.single-post .inner-hero-copy>p:last-child{font-size:16px;max-width:780px;margin-top:20px}
.single-post .inner-shade{background:linear-gradient(90deg,#041d36ed,#062646bd 62%,#071f346b)}
@media(max-width:600px){
  .single-post .inner-hero{min-height:240px}
  .single-post .inner-hero.has-image{min-height:280px}
  .single-post .inner-hero-copy{padding-top:38px;padding-bottom:38px}
  .single-post .inner-hero h1{font-size:28px;letter-spacing:0}
  .single-post .inner-hero-copy>p:last-child{font-size:15px;margin-top:16px}
}
