/* machinery-site - list.css */
:root {
    --primary: #0a2540;
    --secondary: #1a4480;
    --accent: #ff6b1a;
    --light: #f5f7fa;
    --dark: #1a1a1a;
    --gray: #666;
    --border: #e0e6ed;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: #fff;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
header {
    background: var(--primary);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.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; font-weight: 500; }
nav a:hover { color: var(--accent); }
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}
.page-header h1 { font-size: 40px; margin-bottom: 16px; }
.page-header p { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 700px; margin: 0 auto; }
.content-area { padding: 60px 0; }
.layout { display: flex; gap: 40px; }
.main-content { flex: 1; }
.article-list { display: flex; flex-direction: column; gap: 24px; }
.article-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    transition: box-shadow 0.2s;
}
.article-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.article-item h2 { font-size: 20px; margin-bottom: 12px; }
.article-item h2 a { color: var(--primary); text-decoration: none; }
.article-item h2 a:hover { color: var(--accent); }
.article-item p { color: var(--gray); font-size: 14px; margin-bottom: 12px; }
.article-meta { font-size: 13px; color: #999; }
.article-meta .category-tag {
    display: inline-block;
    background: #e8f0fe;
    color: var(--secondary);
    padding: 2px 10px;
    border-radius: 4px;
    margin-right: 12px;
    font-size: 12px;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--dark);
    font-size: 14px;
}
.pagination .current {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.pagination a:hover { background: var(--light); }
footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}
@media (max-width: 992px) {
    .layout { flex-direction: column; }
    .sidebar { width: 100%; }
}
.sidebar { width: 320px; flex-shrink: 0; }
.widget { background: #f8f9fb; border-radius: 8px; padding: 24px; margin-bottom: 24px; }
.widget h3 { font-size: 18px; margin-bottom: 16px; color: #0a2540; border-bottom: 2px solid #ff6b1a; padding-bottom: 8px; }
.popular-list { list-style: none; }
.popular-list li { margin-bottom: 10px; }
.popular-list li a { color: #333; text-decoration: none; font-size: 14px; line-height: 1.5; transition: color 0.2s; }
.popular-list li a:hover, .popular-list li.active a { color: #ff6b1a; }
.category-list { list-style: none; }
.category-list li { margin-bottom: 8px; }
.category-list li a { color: #333; text-decoration: none; font-size: 14px; display: flex; justify-content: space-between; }
.category-list li a:hover { color: #ff6b1a; }
.category-list .count { color: #999; font-size: 13px; }
.widget-cta { background: linear-gradient(135deg, #0a2540 0%, #1a4480 100%); color: #fff; }
.widget-cta h3 { color: #fff; border-bottom-color: #ff6b1a; }
.widget-cta p { font-size: 14px; margin-bottom: 16px; color: rgba(255,255,255,0.85); }
.btn-sidebar { display: inline-block; background: #ff6b1a; color: #fff; padding: 10px 20px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 14px; }
.btn-sidebar:hover { background: #e55a0a; }

/* 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; } }
