/* machinery-site - article.css */
:root { --primary: #0a2540; --accent: #ff6b1a; --light: #f5f7fa; --border: #e0e6ed; --gray: #666; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; color: #1a1a1a; background: #fff; }
.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
header { background: var(--primary); position: fixed; top: 0; width: 100%; z-index: 1000; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { color: #fff; font-size: 22px; font-weight: 700; }
.logo span { color: var(--accent); }
nav ul { display: flex; list-style: none; gap: 36px; }
nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 15px; }
.header-cta { background: var(--accent); color: #fff; padding: 10px 24px; border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 600; }
.breadcrumb { margin-top: 96px; padding: 16px 0; font-size: 14px; color: var(--gray); }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.article-header { margin: 24px 0; }
.article-header h1 { font-size: 36px; color: var(--primary); margin-bottom: 16px; line-height: 1.2; }
.article-category { display: inline-block; background: var(--light); color: var(--primary); padding: 6px 12px; border-radius: 4px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.article-content { margin: 32px 0; font-size: 17px; }
.article-content h2 { font-size: 24px; color: var(--primary); margin: 32px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.article-content p { margin-bottom: 16px; }
.article-content ul { padding-left: 24px; margin: 16px 0; }
.article-content li { margin-bottom: 12px; }
.cta { background: linear-gradient(135deg, var(--primary), #1a4480); color: #fff; padding: 48px; border-radius: 8px; text-align: center; margin: 48px 0; }
.cta h3 { font-size: 28px; margin-bottom: 16px; }
.cta p { opacity: 0.9; margin-bottom: 24px; }
.btn { display: inline-block; padding: 14px 36px; background: var(--accent); color: #fff; text-decoration: none; border-radius: 4px; font-weight: 600; }
footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 48px 0 24px; margin-top: 64px; }
.footer-bottom { text-align: center; font-size: 14px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
@media (max-width: 768px) { nav ul { display: none; }
.article-header h1 { font-size: 28px; }
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; color: #1a1a1a; background: #fff; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.article-content { margin: 32px 0; }
/* 正文首个标题：全页只保留骨架 h1（SEO 要求唯一），正文标题降为 h2 并保持原视觉权重 */
.article-content h2.article-subtitle { font-size: 30px; line-height: 1.25; margin: 0 0 20px; padding-bottom: 0; border-bottom: none; }

/* ---- Related machines ---- */
.related-machines { margin: 40px 0; padding: 24px; background: var(--light, #f5f7fa); border-radius: 8px; }
.related-machines h2 { font-size: 20px; color: var(--primary, #0a2540); margin: 0 0 12px; padding: 0; border: 0; }
.related-machines ul { list-style: none; padding: 0; margin: 0 0 12px; }
.related-machines li { padding: 6px 0; border-bottom: 1px solid var(--border, #e0e6ed); }
.related-machines li:last-child { border-bottom: 0; }
.related-machines a { color: var(--accent, #ff6b1a); text-decoration: none; }
.related-machines a:hover { text-decoration: underline; }

.related-guides { margin: 40px 0; padding: 24px; background: var(--light, #f5f7fa); border-radius: 8px; }
.related-guides h2 { font-size: 20px; color: var(--primary, #0a2540); margin: 0 0 12px; padding: 0; border: 0; }
.related-guides ul { list-style: none; padding: 0; margin: 0; }
.related-guides li { padding: 6px 0; border-bottom: 1px solid var(--border, #e0e6ed); }
.related-guides li:last-child { border-bottom: 0; }
.related-guides a { color: var(--accent, #ff6b1a); text-decoration: none; }
.related-guides a:hover { text-decoration: underline; }

/* WhatsApp contact */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    z-index: 1200;
    transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float:focus-visible { outline: 3px solid #0a2540; outline-offset: 3px; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.btn-email { background: transparent; border: 2px solid rgba(255,255,255,0.85); color: #fff; }
.btn-email:hover { background: rgba(255,255,255,0.15); }
.cta .btn { margin: 6px; }
.widget-contact { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.85); }
.widget-contact a { color: #fff; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-white-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-white-outline:hover { background: rgba(255,255,255,0.15); }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }
