/* SCS front-end layer 1.18.0 */
/* ---------- inline images: beside the text on desktop, one column on mobile ---------- */
.entry-content figure.scs-stock,.scs-body figure.scs-stock,.entry-content .scs-figure:not(.scs-fig-custom){float:right;width:min(42%,340px);margin:.35em 0 1.1em 1.6em;text-align:center}
.entry-content figure.scs-stock.alignleft,.entry-content figure.scs-stock.alignright{max-width:340px}
.entry-content figure.scs-stock.alignleft{float:left;margin:.35em 1.6em 1.1em 0}
.entry-content figure.scs-stock img,.scs-body figure img,.entry-content .scs-figure img{display:block;width:100%;height:auto;border-radius:14px}
.entry-content figcaption{margin-top:8px;font-size:.82em;line-height:1.8;text-align:center}
.entry-content::after,.scs-body::after{content:"";display:table;clear:both}
.entry-content h2,.entry-content h3,.entry-content .scs-table-wrap,.entry-content .scs-code,.entry-content .scs-news-row{clear:both}
@media (max-width:768px){
 .entry-content figure,.entry-content figure.scs-stock,.entry-content figure.alignleft,.entry-content figure.alignright,.entry-content .scs-figure:not(.scs-fig-custom),.scs-body .scs-figure:not(.scs-fig-custom):nth-of-type(even){float:none!important;width:100%!important;max-width:520px;margin:1.2em auto!important}
 .entry-content img{max-width:100%;height:auto}
}
/* ---------- tables ---------- */
.scs-table-wrap{margin:1.6em 0;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #e5e7eb;border-radius:14px;background:#fff}
.scs-table-wrap:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.scs-table-wrap .scs-table{width:100%!important;min-width:0!important;border-collapse:collapse;font-size:.92em;line-height:1.9}
.scs-table-wrap .scs-table th,.scs-table-wrap .scs-table td{padding:10px 14px;border-bottom:1px solid #e5e7eb;text-align:right;vertical-align:top}
.scs-table-wrap .scs-table th{background:#f3f4f6;font-weight:800;white-space:nowrap}
.scs-table-wrap .scs-table tr:nth-child(even) td{background:#fafafa}
.scs-table-wrap .scs-table-scroll{min-width:560px!important}
@media (max-width:640px){
 .scs-table-wrap{border:0;background:transparent;overflow:visible}
 .scs-table-wrap .scs-table-stack,.scs-table-wrap .scs-table-stack tbody{display:block;width:100%!important}
 .scs-table-wrap .scs-table-stack thead,.scs-table-wrap .scs-table-stack tr:first-child:has(th){display:none}
 .scs-table-wrap .scs-table-stack tr{display:block;margin:0 0 12px;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff}
 .scs-table-wrap .scs-table-stack td{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;padding:10px 12px;border-bottom:1px solid #eef0f3;white-space:normal}
 .scs-table-wrap .scs-table-stack td:last-child{border-bottom:0}
 .scs-table-wrap .scs-table-stack td::before{content:attr(data-label);flex:0 0 38%;max-width:42%;font-weight:800;color:#374151}
 .scs-table-wrap .scs-table-stack td:not([data-label])::before{content:none}
 .scs-table-wrap .scs-table-scroll{min-width:520px!important}
 .scs-table-wrap:has(.scs-table-scroll){overflow-x:auto;border:1px solid #e5e7eb;background:#fff}
}
/* ---------- code boxes ---------- */
.scs-code{margin:1.4em 0;border-radius:12px;overflow:hidden;border:1px solid #1f2937;background:#0f172a;direction:ltr;text-align:left}
.scs-code-bar{display:flex;justify-content:space-between;align-items:center;padding:6px 12px;background:#1e293b;color:#cbd5e1;font-size:.8rem}
.scs-copy{cursor:pointer;border:0;border-radius:8px;padding:4px 12px;background:#2563eb;color:#fff;font-size:.82rem;font-family:inherit}
.scs-copy:hover{background:#1d4ed8}.scs-copy:focus-visible{outline:2px solid #fff;outline-offset:2px}
.scs-code pre{margin:0;padding:14px 16px;overflow-x:auto;background:transparent;border:0;color:#e2e8f0;font:.9rem/1.7 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre}
.scs-code code{background:transparent;color:inherit;padding:0;font:inherit}
/* ---------- latest news cards ---------- */
.scs-news-row{margin:2em 0;clear:both}
.scs-news-head{display:block;margin:0 0 10px;font-weight:800;font-size:1rem;color:#111827}
.scs-news-row ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.scs-news-card{position:relative;margin:0;padding:0;border-radius:14px;overflow:hidden;min-height:150px}
.scs-news-link{display:flex;flex-direction:column;justify-content:space-between;min-height:150px;height:100%;padding:10px;background-size:cover;background-position:center;position:relative;text-decoration:none;color:#fff;isolation:isolate}
.scs-news-link::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.45) 45%,rgba(0,0,0,.82) 100%)}
.scs-news-link:focus-visible{outline:3px solid #fbbf24;outline-offset:-3px}
.scs-news-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;padding:3px 9px 3px 7px;border-radius:999px;background:rgba(255,255,255,.92);color:#111827;font-size:.72rem}
.scs-news-badge img{width:18px;height:18px;border-radius:5px;object-fit:cover}.scs-news-badge i{font-style:normal}.scs-news-badge b{font-weight:800;color:#b91c1c}
.scs-news-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.84rem;line-height:1.7;font-weight:700;text-shadow:0 1px 3px rgba(0,0,0,.7);padding-inline-end:34px}
.scs-share{position:absolute;bottom:9px;left:9px;width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.95);color:#111827;display:grid;place-items:center;cursor:pointer;padding:0}
.scs-share:hover{background:#fff;color:#2563eb}.scs-share:focus-visible{outline:2px solid #fbbf24;outline-offset:2px}
@media (max-width:640px){.scs-news-row ul{grid-template-columns:1fr}.scs-news-card,.scs-news-link{min-height:120px}}
@media (prefers-reduced-motion:no-preference){.scs-news-link{transition:transform .25s}.scs-news-card:hover .scs-news-link{transform:scale(1.02)}}

.scs-news-link.scs-news-noimg{background:linear-gradient(135deg,#1e3a8a,#0f172a)}
