/* ===== AVSI BLOG (index, archives, search, single post) ===== */
.blog-hero{min-height:auto;padding:90px 0 80px}
.blog-hero h1{font-size:clamp(1.8rem,3.6vw,2.8rem);max-width:820px}
.blog-hero .ip-hero-sub{max-width:640px}
.blog-search{display:flex;max-width:480px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:50px;overflow:hidden}
.blog-search input{flex:1;min-width:0;background:transparent;border:0;color:#fff;padding:13px 22px;font-size:.92rem;outline:none}
.blog-search input::placeholder{color:rgba(255,255,255,.5)}
.blog-search button{background:var(--y);border:0;color:var(--blk);width:54px;font-size:1rem;cursor:pointer;transition:background .2s}
.blog-search button:hover{background:var(--yd)}
.blog-search:focus-within{border-color:var(--y)}

.blog-cats{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:36px;justify-content:center}
.blog-cats a{font-family:var(--fh);font-weight:700;font-size:.8rem;padding:8px 18px;border-radius:50px;background:var(--white);border:1px solid var(--bdr);color:var(--mid);transition:all .2s}
.blog-cats a:hover,.blog-cats a.on{background:var(--y);border-color:var(--y);color:var(--blk)}

.bcard{background:var(--white);border-radius:var(--r2);overflow:hidden;box-shadow:var(--s1);height:100%;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s}
.bcard:hover{transform:translateY(-4px);box-shadow:var(--s2)}
.bcard-img{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--dark)}
.bcard-img img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.bcard:hover .bcard-img img{transform:scale(1.05)}
.bcard-body{padding:24px 24px 26px;display:flex;flex-direction:column;flex:1}
.bcard-body p{color:var(--gray);font-size:.9rem;line-height:1.75;margin-bottom:18px}
.bcard-t{font-size:1.15rem;font-weight:800;line-height:1.35;margin-bottom:10px}
.bcard-t a{color:var(--dark);transition:color .2s}
.bcard-t a:hover{color:var(--yd)}
.bmeta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:.76rem;color:var(--lgray);margin-bottom:12px}
.bmeta i{margin-right:5px}
.bcat{display:inline-block;background:rgba(255,211,56,.18);color:var(--dark);font-family:var(--fh);font-weight:700;font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;padding:4px 11px;border-radius:50px}
.bmore{margin-top:auto;font-family:var(--fh);font-weight:700;font-size:.85rem;color:var(--dark);display:inline-flex;align-items:center;gap:7px}
.bmore i{color:var(--yd);transition:transform .2s}
.bmore:hover i{transform:translateX(4px)}

@media(min-width:992px){
  .bcard-feat{flex-direction:row}
  .bcard-feat .bcard-img{flex:0 0 55%;aspect-ratio:auto;min-height:360px}
  .bcard-feat .bcard-body{padding:44px;justify-content:center}
  .bcard-feat .bcard-t{font-size:1.75rem}
  .bcard-feat .bmore{margin-top:6px}
}

.bpag{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:48px}
.bpag .page-numbers,.bpag a,.bpag span{min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border-radius:var(--r1);background:var(--white);border:1px solid var(--bdr);font-family:var(--fh);font-weight:700;font-size:.88rem;color:var(--dark);transition:all .2s}
.bpag a:hover,.bpag .current{background:var(--y);border-color:var(--y);color:var(--blk)}
.bpag .dots{border:0;background:transparent}

.bempty{text-align:center;max-width:560px;margin:0 auto;padding:40px 0}
.bempty>i{font-size:3rem;color:var(--y);display:block;margin-bottom:16px}
.bempty h2{font-size:1.6rem;font-weight:800;margin-bottom:10px}
.bempty p{color:var(--gray);margin-bottom:26px}

/* single */
.bpost-hero h1{margin-bottom:18px}
.bcat-hero{margin-bottom:16px;background:var(--y);color:var(--blk)}
.bpost-meta{display:flex;flex-wrap:wrap;gap:8px 22px;color:rgba(255,255,255,.65);font-size:.85rem}
.bpost-meta i{color:var(--y);margin-right:6px}
.bpost-img{margin:0 0 34px;border-radius:var(--r2);overflow:hidden;box-shadow:var(--s1)}
.bpost-img img{width:100%;height:auto}
.bpost-body{font-size:1.02rem;line-height:1.9;color:var(--mid);overflow-wrap:break-word}
.bpost-body>*+*{margin-top:1.15em}
.bpost-body h2{font-size:clamp(1.4rem,2.6vw,1.8rem);font-weight:800;margin-top:1.8em;color:var(--dark)}
.bpost-body h3{font-size:1.3rem;font-weight:800;margin-top:1.6em;color:var(--dark)}
.bpost-body h4{font-size:1.1rem;margin-top:1.4em}
.bpost-body a{color:var(--dark);text-decoration:underline;text-decoration-color:var(--y);text-decoration-thickness:2px;text-underline-offset:3px}
.bpost-body a:hover{color:var(--yd)}
.bpost-body ul,.bpost-body ol{padding-left:1.4em}
.bpost-body li+li{margin-top:.45em}
.bpost-body ul li::marker{color:var(--yd)}
.bpost-body blockquote{border-left:4px solid var(--y);background:var(--bg);padding:20px 24px;border-radius:0 var(--r1) var(--r1) 0;font-style:italic;color:var(--dark)}
.bpost-body img{border-radius:var(--r1)}
.bpost-body figure{margin:1.6em 0}
.bpost-body figcaption{font-size:.8rem;color:var(--lgray);margin-top:8px;text-align:center}
.bpost-body table{width:100%;border-collapse:collapse;font-size:.92rem;display:block;overflow-x:auto}
.bpost-body th,.bpost-body td{border:1px solid var(--bdr);padding:10px 14px;text-align:left}
.bpost-body th{background:var(--dark);color:#fff;font-family:var(--fh)}
.bpost-body .alignleft{float:left;margin:0 1.4em 1em 0;max-width:50%}
.bpost-body .alignright{float:right;margin:0 0 1em 1.4em;max-width:50%}
.bpost-body .aligncenter{margin-left:auto;margin-right:auto}
.bpost-body::after{content:"";display:table;clear:both}

.bpost-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:36px;padding-top:24px;border-top:1px solid var(--bdr)}
.bpost-tags>i{color:var(--yd)}
.bpost-tags a{font-size:.78rem;padding:5px 13px;border-radius:50px;background:var(--bg);border:1px solid var(--bdr);color:var(--mid)}
.bpost-tags a:hover{background:var(--y);border-color:var(--y);color:var(--blk)}
.bpost-share{display:flex;align-items:center;gap:10px;margin-top:22px;font-family:var(--fh);font-weight:700;font-size:.85rem}
.bpost-share a{width:40px;height:40px;border-radius:50%;background:var(--dark);color:#fff;display:inline-flex;align-items:center;justify-content:center;transition:all .2s}
.bpost-share a:hover{background:var(--y);color:var(--blk)}
.bpost-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:36px}
.bpost-nav a{display:block;padding:18px 20px;border:1px solid var(--bdr);border-radius:var(--r2);height:100%;transition:border-color .2s,box-shadow .2s}
.bpost-nav a:hover{border-color:var(--y);box-shadow:var(--s1)}
.bpost-nav small{display:block;color:var(--lgray);font-size:.75rem;margin-bottom:5px}
.bpost-nav strong{font-family:var(--fh);font-size:.92rem;color:var(--dark);line-height:1.4}

.bside{position:sticky;top:110px;display:flex;flex-direction:column;gap:24px}
.bside-cta{border-radius:var(--r2);padding:30px 26px;text-align:center}
.bside-cta>i{font-size:2.4rem;color:var(--y);display:block;margin-bottom:12px}
.bside-cta h2{color:#fff;font-size:1.3rem;font-weight:800;margin-bottom:10px}
.bside-cta p{color:rgba(255,255,255,.65);font-size:.88rem;line-height:1.7;margin-bottom:20px}
.bside-box{background:var(--bg);border-radius:var(--r2);padding:26px 24px}
.bside-box h2{font-size:1.05rem;font-weight:800;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid var(--y)}
.bside-list{list-style:none;padding:0;margin:0}
.bside-list li{padding:11px 0;border-bottom:1px solid var(--bdr)}
.bside-list li:last-child{border-bottom:0}
.bside-list a{display:block;font-family:var(--fh);font-weight:700;font-size:.9rem;color:var(--dark);line-height:1.4}
.bside-list a:hover{color:var(--yd)}
.bside-list span{font-size:.74rem;color:var(--lgray)}
.bside-svc{list-style:none;padding:0;margin:0}
.bside-svc a{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:.88rem;color:var(--mid)}
.bside-svc a i{color:var(--yd);width:18px}
.bside-svc a:hover{color:var(--dark)}

@media(max-width:991px){.bside{position:static}}
@media(max-width:575px){
  .blog-hero{padding:64px 0 56px}
  .bcard-body{padding:20px}
  .bpost-nav{grid-template-columns:1fr}
  .bpost-nav .text-end{text-align:left!important}
  .bpost-body .alignleft,.bpost-body .alignright{float:none;margin:0 0 1em;max-width:100%}
}
