/* ====== Scoped styles: only affect elements inside .qycs ====== */
.qycs{ --accent:#e81123; --title:#fff; --text:#2b2b2b; --muted:#666; --max:1100px; }
.qycs{ font:16px/1.7 "Segoe UI",Arial,system-ui,sans-serif; color:var(--text); }
.qycs *{ box-sizing:border-box; }

/* Layout */
.qycs .wrap{ width:min(var(--max), calc(100% - 3rem)); margin:0 auto; }
.qycs .spacer{ height:1.25rem; }
.qycs p{ margin:.75rem 0 0; }
.qycs img{ max-width:100%; height:auto; border:0; display:block; }
.qycs .muted{ color:var(--muted); font-size:.95rem; }

/* Titles */
.qycs .title{
color:var(--title);
font-weight:700;
margin:0 0 .75rem;
line-height:1.25;
font-size:clamp(28px,3vw,44px);
}
.qycs .date-share{
display:flex; justify-content:space-between; align-items:center;
gap:1rem; color:var(--muted); margin:0 0 1.25rem;
font-size:.95rem;
}
.qycs .hr{ height:1px; background:rgba(0,0,0,.08); margin:0 0 1.5rem; }

/* Section headings */
.qycs .h2{
margin:1.75rem 0 .5rem; font-size:clamp(20px,2vw,26px); font-weight:700;
padding-left:.7rem; border-left:4px solid var(--accent);
}

/* Lists */
.qycs ul{ margin:.5rem 0 0 1.25rem; padding:0; }
.qycs li{ margin:.35rem 0; }
.qycs li strong{ color:#0a5fcc; }

/* Generic table styling for exported content */
.qycs table{ width:100%; border-collapse:collapse; margin:.75rem 0; }
.qycs th, .qycs td{ border:1px solid rgba(0,0,0,.12); padding:.5rem .6rem; vertical-align:top; }
.qycs thead th{ background:#fafafa; }

/* Reset any white card backgrounds from CMS */
.qycs [class*="page"], .qycs [class*="card"]{ background:transparent !important; box-shadow:none !important; }

/* Image grid helper */
.qycs .grid{
display:grid; gap:12px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
margin:.5rem 0 0;
}

/* CTA */
.qycs .cta{ margin:2rem 0 2.5rem; text-align:center; }
.qycs .btn{
display:inline-block; padding:.85rem 1.4rem; border-radius:8px;
background:var(--accent); color:#fff; text-decoration:none; font-weight:700;
transition:transform .06s ease, filter .2s ease;
}
.qycs .btn:hover{ filter:brightness(.92); transform:translateY(-1px); }