/*
Theme Name: Sizhuti
Theme URI: http://127.0.0.8/
Author: WorkBuddy
Author URI: http://127.0.0.8/
Description: Forklift foreign-trade corporate theme (Sizhuti). Custom product post type with download field & gallery, news/project/honor as post categories with list/grid template selection, single pages with extra fields, and theme settings for contact info & homepage sections.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sizhuti
*/

/* Base layout ships in assets/css/style.css (from the original template).
   Below: WordPress-specific glue + small fixes. */

/* WP content images */
.part-con img, .new-con img, article img { max-width: 100%; height: auto; }

/* Menu: keep submenu hidden by default (JS hover shows it) */
.head-nav ul li ul.submenu { display: none; }

/* Pagination (WP native) */
.common-page .mypages ul { display:flex; gap:8px; justify-content:center; list-style:none; padding:0; }
.common-page .mypages .page-numbers { display:inline-block; min-width:36px; height:36px; line-height:36px; padding:0 10px; text-align:center; border:1px solid #e5e5e5; color:#333; border-radius:4px; }
.common-page .mypages .page-numbers.current,
.common-page .mypages .page-numbers:hover { background:#e60012; border-color:#e60012; color:#fff; }

/* Search results list */
.search-result-list { padding: 40px 0; }
.search-result-list li { border-bottom: 1px dashed #e5e5e5; padding: 15px 0; }
.search-result-list li a { font-size: 16px; color: #333; }
.search-result-list li a:hover { color: #e60012; }
.search-result-list li .date { color: #999; font-size: 13px; margin-left: 10px; }

/* 404 */
.error-404 { text-align:center; padding:80px 20px; }
.error-404 h1 { font-size:80px; color:#e60012; margin-bottom:10px; }
.error-404 p { color:#666; margin-bottom:20px; }

/* Header search toggle */
.head-search.active { display: block !important; }

/* Mobile nav open */
.head-nav.is-active > ul { display: block; }

/* Video modal */
.video-modal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.7); }
.video-modal.open { display: block; }
.video-modal-overlay { position:absolute; inset:0; cursor:pointer; }
.video-modal-content { position: relative; width: 80%; max-width: 900px; margin: 8% auto; background:#000; }
.video-modal-close { position:absolute; top:-40px; right:0; color:#fff; font-size:30px; background:none; border:0; cursor:pointer; }
.video-wrapper video { width:100%; display:block; }

/* FAQ accordion defaults (grid template) */
.wmkc-faq-item { border-bottom:1px solid #eee; }
.wmkc-faq-tit { cursor:pointer; padding:15px 0; font-weight:600; }
.wmkc-faq-box { display:none; padding:0 0 15px; color:#555; }
.wmkc-faq-item.open .wmkc-faq-box { display:block; }

/* SVG/iframe content */
.part-con iframe, .new-con iframe { max-width:100%; }
