/* MDS Mart - Blog + Community styling.  Rakhna hai: /assets/css/mds-blog.css */
*{box-sizing:border-box}
.mdsb{margin:0;font-family:'Plus Jakarta Sans',system-ui,sans-serif;background:var(--bg,#FFFBF5);color:#111827;line-height:1.6}
.mdsb a{color:inherit}
.mdsb img{max-width:100%;display:block}
.mdsb-top{background:#111827;color:#e5e7eb;text-align:center;font-size:12.5px;padding:8px 12px}
.mdsb-top a{color:#F59E0B;font-weight:700;text-decoration:none}
.mdsb-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 32px;background:#fff;border-bottom:1px solid #F0E4D0;position:sticky;top:0;z-index:20;flex-wrap:wrap}
.mdsb-logo{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:800;font-size:24px}
.mdsb-logo b{color:#F59E0B}
.mdsb-nav{display:flex;gap:6px;flex-wrap:wrap}
.mdsb-nav a{text-decoration:none;font-weight:600;font-size:15px;padding:8px 14px;border-radius:10px}
.mdsb-nav a:hover{background:#FFF1D6}
.mdsb-wrap{max-width:1184px;margin:0 auto;padding:0 24px}
.mdsb-hero{padding:48px 0 22px}
.mdsb-hero h1{font-size:clamp(30px,5vw,46px);line-height:1.12;margin:0 0 10px;font-weight:800}
.mdsb-hero p{margin:0;color:#5B6472;max-width:680px;font-size:17px}
.mdsb-chips{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 8px}
.mdsb-chip{padding:9px 16px;border-radius:999px;border:1px solid #F0E4D0;background:#fff;text-decoration:none;font-weight:600;font-size:14px}
.mdsb-chip:hover{border-color:#F59E0B}
.mdsb-chip.on{background:#111827;color:#fff;border-color:#111827}
.mdsb-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin:26px 0}
.mdsb-card{background:#fff;border:1px solid #F0E4D0;border-radius:6px;display:flex;flex-direction:column;text-decoration:none;overflow:hidden;transition:box-shadow .2s,transform .2s}
.mdsb-card:hover{box-shadow:0 10px 28px rgba(17,24,39,.12);transform:translateY(-2px)}
.mdsb-card-img{aspect-ratio:16/9;background:#FFF1D6;overflow:hidden}
.mdsb-card-img img{width:100%;height:100%;object-fit:contain;background:#fff}
.mdsb-card-body{padding:22px 24px 24px;display:flex;flex-direction:column;flex:1}
.mdsb-cat{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#374151;margin-bottom:10px}
.mdsb-card h2{font-size:21px;line-height:1.28;margin:0 0 10px;font-weight:800}
.mdsb-card p{margin:0 0 18px;color:#6b7280;font-size:15px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mdsb-date{margin-top:auto;font-size:15px;color:#111827}
.mdsb-pager{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:36px 0 60px}
.mdsb-pages{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mdsb-pages a,.mdsb-pages span{min-width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700;font-size:17px;padding:0 6px}
.mdsb-pages a:hover{background:#FFF1D6}
.mdsb-pages .cur{background:#e5e7eb;border:1px solid #cbd5e1}
.mdsb-pages .wide{border-radius:22px;padding:0 12px}
.mdsb-pages .off{color:#9ca3af}
.mdsb-count{font-weight:700;font-size:17px}
.mdsb-empty{padding:60px 0;text-align:center;color:#6b7280}

/* Article */
.mdsb-art{max-width:820px;margin:0 auto;padding:36px 24px 20px}
.mdsb-crumb{font-size:14px;color:#6b7280;margin-bottom:16px}
.mdsb-crumb a{text-decoration:none;font-weight:600}
.mdsb-art h1{font-size:clamp(28px,4.6vw,42px);line-height:1.15;margin:8px 0 14px;font-weight:800}
.mdsb-meta{display:flex;gap:14px;flex-wrap:wrap;color:#6b7280;font-size:14px;margin-bottom:22px}
.mdsb-art-img{border-radius:14px;overflow:hidden;background:#fff;border:1px solid #F0E4D0;margin-bottom:28px}
.mdsb-art-img img{width:100%;max-height:480px;object-fit:contain}
.mdsb-body{font-size:18px;line-height:1.82;color:#1f2937}
.mdsb-body h2{font-size:28px;line-height:1.25;margin:38px 0 12px;font-weight:800}
.mdsb-body h3{font-size:21px;margin:26px 0 8px;font-weight:700}
.mdsb-body p{margin:0 0 18px}
.mdsb-body ul,.mdsb-body ol{margin:0 0 20px;padding-left:24px}
.mdsb-body li{margin-bottom:8px}
.mdsb-body blockquote{margin:22px 0;padding:16px 20px;border-left:4px solid #F59E0B;background:#FFF7E6;border-radius:0 10px 10px 0}
.mdsb-body table{width:100%;border-collapse:collapse;margin:0 0 22px;font-size:16px}
.mdsb-body th,.mdsb-body td{border:1px solid #F0E4D0;padding:10px 12px;text-align:left}
.mdsb-body th{background:#FFF1D6}
.mdsb-buy{display:flex;gap:18px;align-items:center;background:#111827;color:#fff;border-radius:16px;padding:18px;margin:34px 0;flex-wrap:wrap}
.mdsb-buy img{width:110px;height:110px;object-fit:contain;background:#fff;border-radius:12px}
.mdsb-buy-info{flex:1;min-width:200px}
.mdsb-buy-name{font-weight:800;font-size:18px;line-height:1.3}
.mdsb-buy-price{margin-top:6px;font-size:22px;font-weight:800;color:#F59E0B}
.mdsb-buy-price s{font-size:15px;color:#9ca3af;font-weight:500;margin-left:6px}
.mdsb-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:12px;background:#F59E0B;color:#111827;font-weight:800;text-decoration:none;border:0;cursor:pointer;font-family:inherit;font-size:15px}
.mdsb-btn:hover{background:#fbbf24}
.mdsb-btn.ghost{background:#fff;border:1px solid #F0E4D0}
.mdsb-share{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 30px}
.mdsb-rel{max-width:1184px;margin:0 auto;padding:10px 24px 50px}
.mdsb-rel h3{font-size:24px;margin:0 0 6px}

/* Community */
.mdsb-comm{display:grid;grid-template-columns:1fr 360px;gap:28px;align-items:start;margin:20px 0 60px}
.mdsb-thread{display:block;background:#fff;border:1px solid #F0E4D0;border-radius:14px;padding:18px 20px;margin-bottom:14px;text-decoration:none}
.mdsb-thread:hover{border-color:#F59E0B}
.mdsb-thread h3{margin:6px 0 6px;font-size:19px;line-height:1.3}
.mdsb-thread p{margin:0 0 10px;color:#6b7280;font-size:15px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mdsb-tag{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;background:#FFF1D6;color:#8A5A12;padding:4px 10px;border-radius:999px}
.mdsb-tag.staff{background:#111827;color:#F59E0B}
.mdsb-small{font-size:13.5px;color:#6b7280}
.mdsb-form{background:#fff;border:1px solid #F0E4D0;border-radius:16px;padding:20px;position:sticky;top:90px}
.mdsb-form h3{margin:0 0 4px;font-size:20px}
.mdsb-form label{display:block;font-weight:700;font-size:14px;margin:14px 0 6px}
.mdsb-form input[type=text],.mdsb-form select,.mdsb-form textarea{width:100%;border:1px solid #e5d9c3;border-radius:10px;padding:11px 12px;font-family:inherit;font-size:15px;background:#fff}
.mdsb-form textarea{min-height:120px;resize:vertical}
.mdsb-form .mdsb-btn{width:100%;margin-top:16px}
.mdsb-hp{position:absolute;left:-9999px;opacity:0}
.mdsb-msg{padding:12px 14px;border-radius:10px;margin-bottom:16px;font-weight:600;font-size:15px}
.mdsb-msg.ok{background:#e8f7ee;color:#14532d}
.mdsb-msg.err{background:#fdecec;color:#7f1d1d}
.mdsb-reply{background:#fff;border:1px solid #F0E4D0;border-radius:12px;padding:14px 16px;margin-bottom:12px}
.mdsb-reply.staff{border-color:#F59E0B;background:#FFF9EC}
.mdsb-reply-h{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:6px;font-weight:700}
.mdsb-msgtext{white-space:pre-wrap;word-wrap:break-word}

/* Footer */
.mdsb-footer{background:#111827;color:#fff;padding:48px 24px 22px}
.mdsb-footer-in{max-width:1184px;margin:0 auto;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:28px 56px}
.mdsb-f-col{display:flex;flex-direction:column;gap:9px;font-size:15px}
.mdsb-f-col a,.mdsb-f-col span{color:#d1d5db;text-decoration:none}
.mdsb-f-col a:hover{color:#F59E0B}
.mdsb-f-title{font-size:26px;font-weight:800}
.mdsb-f-sub{margin:0 0 6px;color:#d1d5db}
.mdsb-f-head{font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#F59E0B;margin-bottom:4px}
.mdsb-copy{text-align:center;color:#9ca3af;font-size:13px;margin:16px 0 0}

@media(max-width:960px){.mdsb-grid{grid-template-columns:repeat(2,1fr)}.mdsb-comm{grid-template-columns:1fr}.mdsb-form{position:static}}
@media(max-width:640px){.mdsb-grid{grid-template-columns:1fr}.mdsb-header{padding:12px 16px}.mdsb-wrap{padding:0 16px}.mdsb-footer-in{grid-template-columns:1fr}.mdsb-body{font-size:17px}.mdsb-pager{justify-content:center}.mdsb-pages a,.mdsb-pages span{min-width:38px;height:38px;font-size:15px}}
