/*
Theme Name: CNFDO Food Machinery B2B
Description: CNFDO's responsive equipment marketplace, rebuilt for native WordPress content and inquiries.
Version: 1.0.0
Requires PHP: 8.1
Text Domain: cnfdo-b2b
License: GNU General Public License v2 or later
*/
.skip-link{position:absolute;left:12px;top:-80px;z-index:100;background:white;padding:12px}.skip-link:focus{top:12px}
.content-section{padding-top:40px;padding-bottom:60px}.content-section h1{font-size:clamp(1.9rem,4vw,2.8rem);line-height:1.2;margin-bottom:24px;color:#173951}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}
.catalog-card{border:1px solid #dce5ea;background:#fff;border-radius:6px;overflow:hidden}.catalog-card>div{padding:20px}.catalog-card h2{font-size:20px;line-height:1.4;margin:0 0 12px}.catalog-card p{line-height:1.7;color:#526572}
.catalog-image{display:block;aspect-ratio:4/3;background:#f4f7f8}.catalog-image img{width:100%;height:100%;object-fit:contain}
.entry-content{max-width:960px;font-size:17px;line-height:1.85;margin:28px 0}.entry-content h2,.entry-content h3{line-height:1.4;margin-top:1.8em}.entry-content p,.entry-content ul,.entry-content ol{margin-bottom:1.2em}.entry-content ul,.entry-content ol{padding-left:1.5em}.entry-content li{margin-bottom:.4em}.entry-content img,.entry-content video,.entry-content iframe{max-width:100%;height:auto}.entry-content iframe{aspect-ratio:16/9;width:100%}.entry-content table{display:block;max-width:100%;overflow:auto;border-collapse:collapse}.entry-content td,.entry-content th{padding:10px;border:1px solid #dce5ea}
.equipment-summary{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}.equipment-summary img{width:100%;max-height:480px;object-fit:contain;background:#f4f7f8}.page-breadcrumb{font-size:14px;margin-bottom:24px}.guestbook{max-width:800px;margin-top:48px}.guestbook input,.guestbook textarea{display:block;width:100%;box-sizing:border-box;margin:6px 0 18px;padding:12px;border:1px solid #acbfcc;border-radius:4px;font:inherit}.guestbook label{font-weight:600}.quote-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-message{padding:16px;background:#edf5f0;border-left:4px solid #42865c}.language-links{display:flex;gap:12px}.navigation.pagination{margin-top:30px}.page-numbers{padding:8px;display:inline-block}.site-main{min-height:50vh}.primary-nav-links ul{display:flex;gap:24px;list-style:none;margin:0;padding:0}
@media(max-width:900px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.equipment-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:24px 0}.equipment-gallery img{width:100%;height:200px;object-fit:contain;background:#f4f7f8}.entry-content{overflow-wrap:anywhere}.entry-content img{height:auto!important}.entry-content figure{max-width:100%;margin-left:0;margin-right:0}
@media(max-width:600px){.catalog-grid,.equipment-summary{grid-template-columns:1fr}.content-section{padding-top:24px}.entry-content{font-size:16px}.primary-nav-links ul{gap:14px;flex-wrap:wrap}.guestbook{margin-top:30px}}
