/* YesPOS blog — layout B (article list + sidebar), in the site's purple style */
.yb{--yb-c:#684df4;--yb-cd:#5537d5;--yb-t:#17172d;--yb-b:#5e5a6d;--yb-l:#f4f1ff;--yb-br:#e8e5f0;background:#fff}
.yb *{box-sizing:border-box}
.yb-hero{padding:56px 0 40px;background:linear-gradient(180deg,#f4f1ff 0%,#fff 100%);border-bottom:1px solid var(--yb-br)}
.yb-hero h1{margin:10px 0 8px;color:var(--yb-t);font-size:44px;line-height:1.15;font-weight:800}
.yb-hero p{max-width:720px;margin:0;color:var(--yb-b);font-size:17px;line-height:1.6}
.yb-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:14px;color:#8a8698}
.yb-crumbs a{color:var(--yb-c);text-decoration:none}.yb-crumbs a:hover{text-decoration:underline}
.yb-crumbs span[aria-current]{color:#8a8698;max-width:60ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yb-wrap{padding-top:40px;padding-bottom:70px}
.yb-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;align-items:start}
.yb-list{display:flex;flex-direction:column;gap:22px}
.yb-card{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;padding:16px;border:1px solid var(--yb-br);border-radius:20px;background:#fff;transition:box-shadow .25s,transform .25s}
.yb-card:hover{box-shadow:0 18px 44px rgba(42,31,90,.10);transform:translateY(-2px)}
.yb-card-img{display:block;border-radius:14px;overflow:hidden;aspect-ratio:16/10;background:var(--yb-l)}
.yb-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.yb-card:hover .yb-card-img img{transform:scale(1.04)}
.yb-noimg{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:80px;color:#b7aef5;font-size:34px;background:var(--yb-l)}
.yb-card-b{display:flex;flex-direction:column;min-width:0;padding:4px 4px 2px 0}
.yb-chip{align-self:flex-start;display:inline-block;padding:4px 12px;border-radius:30px;background:var(--yb-l);color:var(--yb-c);font-size:12px;font-weight:700;text-decoration:none;letter-spacing:.2px}
.yb-chip:hover{background:var(--yb-c);color:#fff}
.yb-card h2{margin:10px 0 8px;font-size:22px;line-height:1.3;font-weight:800}
.yb-card h2 a{color:var(--yb-t);text-decoration:none}.yb-card h2 a:hover{color:var(--yb-c)}
.yb-card p{margin:0 0 12px;color:var(--yb-b);font-size:15px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.yb-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:auto;color:#8a8698;font-size:13px}
.yb-meta i{color:var(--yb-c);margin-right:3px}
.yb-more{margin-left:auto;color:var(--yb-c);font-weight:700;text-decoration:none}.yb-more:hover{color:var(--yb-cd)}
.yb-more i{color:inherit;margin:0 0 0 4px;transition:transform .2s}.yb-more:hover i{transform:translateX(3px)}
.yb-pages{display:flex;justify-content:space-between;align-items:center;margin-top:30px;color:#8a8698;font-weight:600}
.yb-pages a{padding:10px 18px;border-radius:12px;background:var(--yb-l);color:var(--yb-c);font-weight:700;text-decoration:none}
.yb-pages a:hover{background:var(--yb-c);color:#fff}
.yb-empty{padding:60px 20px;text-align:center;border:1px dashed #d8d2f2;border-radius:20px;color:var(--yb-b)}
.yb-empty i{font-size:40px;color:#b7aef5;margin-bottom:10px}
.yb-side{position:sticky;top:110px;display:flex;flex-direction:column;gap:20px}
.yb-box{padding:22px;border:1px solid var(--yb-br);border-radius:20px;background:#fff}
.yb-box h3{margin:0 0 14px;font-size:18px;font-weight:800;color:var(--yb-t)}
.yb-search{display:flex;gap:8px;padding:10px}
.yb-search input{flex:1;min-width:0;height:46px;padding:0 14px;border:1px solid var(--yb-br);border-radius:12px;font-size:15px;outline:0}
.yb-search input:focus{border-color:var(--yb-c);box-shadow:0 0 0 3px rgba(104,77,244,.12)}
.yb-search button{width:46px;height:46px;border:0;border-radius:12px;background:var(--yb-c);color:#fff;cursor:pointer}
.yb-cats{list-style:none;margin:0;padding:0}
.yb-cats li{border-bottom:1px dashed var(--yb-br)}.yb-cats li:last-child{border:0}
.yb-cats a{display:flex;justify-content:space-between;align-items:center;padding:10px 0;color:var(--yb-b);font-weight:600;text-decoration:none}
.yb-cats a:hover,.yb-cats a.on{color:var(--yb-c)}
.yb-cats a span{min-width:28px;padding:2px 8px;border-radius:20px;background:var(--yb-l);color:var(--yb-c);font-size:12px;text-align:center}
.yb-pop{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.yb-pop a{display:flex;gap:12px;align-items:center;text-decoration:none}
.yb-pop img,.yb-pop .yb-noimg{width:64px;height:48px;flex:0 0 64px;min-height:0;border-radius:10px;object-fit:cover;font-size:18px}
.yb-pop b{display:block;color:var(--yb-t);font-size:14px;line-height:1.35;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.yb-pop a:hover b{color:var(--yb-c)}
.yb-pop small{color:#8a8698;font-size:12px}
.yb-cta{background:linear-gradient(150deg,#7655f4,#5537d5);border:0;color:#fff;text-align:center}
.yb-cta>i{font-size:30px;margin-bottom:8px;opacity:.9}
.yb-cta h3{color:#fff;margin-bottom:6px}.yb-cta p{margin:0 0 14px;color:rgba(255,255,255,.85);font-size:14px;line-height:1.55}
.yb-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 16px;margin-top:8px;border-radius:12px;background:#fff;color:var(--yb-cd);font-weight:800;text-decoration:none;border:0}
.yb-btn:hover{background:#f1eeff;color:var(--yb-cd)}
.yb-btn-o{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.5)}.yb-btn-o:hover{background:rgba(255,255,255,.12);color:#fff}
.yb-hero .yb-btn{width:auto;background:var(--yb-c);color:#fff}
/* article */
.yb-post{padding-top:14px}
.yb-post h1{margin:12px 0 12px;color:var(--yb-t);font-size:40px;line-height:1.2;font-weight:800}
.yb-post>.yb-meta{margin:0 0 22px}
.yb-cover{margin:0 0 28px;border-radius:20px;overflow:hidden;background:var(--yb-l)}
.yb-cover img{width:100%;height:auto;display:block}
.yb-body{color:#3d3a4d;font-size:18px;line-height:1.8;overflow-wrap:anywhere}
.yb-body h2{margin:38px 0 14px;color:var(--yb-t);font-size:28px;line-height:1.3;font-weight:800}
.yb-body h3{margin:30px 0 12px;color:var(--yb-t);font-size:22px;font-weight:800}
.yb-body h4{margin:24px 0 10px;font-size:19px;font-weight:700;color:var(--yb-t)}
.yb-body p{margin:0 0 18px}
.yb-body a{color:var(--yb-c);text-decoration:underline;text-underline-offset:3px}
.yb-body ul,.yb-body ol{margin:0 0 20px;padding-left:24px}.yb-body li{margin:6px 0}
.yb-body ul li::marker{color:var(--yb-c)}
.yb-body img{max-width:100%;height:auto;border-radius:16px;margin:10px 0}
.yb-body figure{margin:24px 0}.yb-body figcaption{color:#8a8698;font-size:14px;text-align:center;margin-top:6px}
.yb-body blockquote{margin:24px 0;padding:18px 22px;border-left:4px solid var(--yb-c);border-radius:0 14px 14px 0;background:var(--yb-l);color:var(--yb-t);font-weight:500}
.yb-body table{width:100%;border-collapse:collapse;margin:20px 0;font-size:16px}.yb-body th,.yb-body td{padding:10px 12px;border:1px solid var(--yb-br);text-align:left}.yb-body th{background:var(--yb-l)}
.yb-body hr{border:0;border-top:1px solid var(--yb-br);margin:30px 0}
.yb-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:34px 0 10px;padding:18px 0;border-top:1px solid var(--yb-br);border-bottom:1px solid var(--yb-br)}
.yb-share b{color:var(--yb-t);margin-right:4px}
.yb-share a,.yb-share button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;min-width:40px;padding:0 12px;border-radius:12px;border:0;background:var(--yb-l);color:var(--yb-c);font-size:14px;font-weight:700;text-decoration:none;cursor:pointer}
.yb-share a:hover,.yb-share button:hover{background:var(--yb-c);color:#fff}
.yb-related{margin-top:34px}.yb-related h2{font-size:24px;font-weight:800;color:var(--yb-t);margin:0 0 16px}
.yb-rel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.yb-rel{display:flex;flex-direction:column;gap:8px;text-decoration:none}
.yb-rel img,.yb-rel .yb-noimg{width:100%;aspect-ratio:16/10;height:auto;object-fit:cover;border-radius:14px}
.yb-rel b{color:var(--yb-t);font-size:16px;line-height:1.35;font-weight:700}.yb-rel:hover b{color:var(--yb-c)}
.yb-rel small{color:#8a8698;font-size:13px}
@media (max-width:1199px){.yb-grid{grid-template-columns:minmax(0,1fr) 300px;gap:28px}.yb-card{grid-template-columns:220px minmax(0,1fr)}}
@media (max-width:991px){.yb-grid{grid-template-columns:1fr}.yb-side{position:static}.yb-hero h1{font-size:36px}.yb-post h1{font-size:32px}}
@media (max-width:575px){.yb-hero{padding:34px 0 26px}.yb-hero h1{font-size:30px}.yb-hero p{font-size:15px}
  .yb-wrap{padding-top:24px;padding-bottom:50px}
  .yb-card{grid-template-columns:1fr;gap:12px;padding:12px;border-radius:18px}.yb-card h2{font-size:19px}
  .yb-post h1{font-size:27px}.yb-body{font-size:17px}.yb-body h2{font-size:23px}.yb-body h3{font-size:20px}
  .yb-rel-grid{grid-template-columns:1fr}.yb-more{margin-left:0}}
/* the theme decorates every blockquote with a big quote box; in articles it is a plain tip block */
.yb-body blockquote{position:relative;font-size:17px;line-height:1.7;font-style:normal}
.yb-body blockquote::before,.yb-body blockquote::after{content:none!important;display:none!important}
.yb-body blockquote p:last-child{margin-bottom:0}
