
/* ============================================================
   BLOG / ARTICLE DESIGN v1.2.5
   Mobile-first, lightweight, no jQuery
   ============================================================ */

.blog-shell{
  background:#f4f7fb;
  padding:48px 0 64px;
}
.blog-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}
.blog-breadcrumbs{
  max-width:1200px;
  margin:0 auto;
  padding:14px 20px 0;
  font-size:13px;
  color:#64748b;
}
.blog-breadcrumbs a{color:#075bb5;text-decoration:none}
.blog-breadcrumbs a:hover{text-decoration:underline}
.blog-breadcrumbs__sep{margin:0 7px;color:#94a3b8}

.blog-hero{
  background:linear-gradient(135deg,#0b2342 0%,#075bb5 100%);
  color:#fff;
  padding:42px 0 46px;
}
.blog-hero__inner{max-width:1200px;margin:0 auto;padding:0 20px}
.blog-hero__eyebrow{
  display:inline-flex;
  align-items:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.24);
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  font-weight:700;
  margin-bottom:13px;
}
.blog-hero h1{
  color:#fff!important;
  max-width:900px;
  margin:0 0 12px;
  font-size:clamp(30px,5vw,52px);
  line-height:1.1;
  font-weight:800;
  letter-spacing:-.6px;
}
.blog-hero p{
  max-width:720px;
  color:#dbeafe;
  margin:0;
  font-size:16px;
  line-height:1.7;
}

.blog-layout{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(280px,360px);
  gap:28px;
  align-items:start;
}
.blog-main{min-width:0}
.blog-post-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.blog-card-v2{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:14px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-width:0;
  box-shadow:0 5px 20px rgba(15,23,42,.05);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.blog-card-v2:hover{
  transform:translateY(-3px);
  border-color:#bfdbfe;
  box-shadow:0 12px 30px rgba(15,23,42,.10);
}
.blog-card-v2__media{
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#eaf1f8;
}
.blog-card-v2__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .25s ease;
}
.blog-card-v2:hover .blog-card-v2__media img{transform:scale(1.03)}
.blog-card-v2__body{
  padding:20px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.blog-card-v2__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  color:#64748b;
  font-size:12px;
  margin-bottom:9px;
}
.blog-card-v2__category{
  color:#075bb5;
  font-weight:700;
}
.blog-card-v2 h2{
  margin:0 0 9px;
  font-size:20px;
  line-height:1.3;
  font-weight:800;
}
.blog-card-v2 h2 a{color:#0f172a;text-decoration:none}
.blog-card-v2 h2 a:hover{color:#075bb5}
.blog-card-v2__excerpt{
  color:#475569;
  font-size:14px;
  line-height:1.7;
  margin:0 0 16px;
}
.blog-readmore{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#075bb5;
  font-weight:800;
  font-size:13px;
  text-decoration:none;
}
.blog-readmore:hover{text-decoration:underline}

.blog-sidebar{
  display:flex;
  flex-direction:column;
  gap:18px;
  position:sticky;
  top:20px;
}
.blog-side-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:14px;
  padding:20px;
  box-shadow:0 5px 20px rgba(15,23,42,.05);
}
.blog-side-card--cta{
  background:linear-gradient(150deg,#075bb5 0%,#06488e 100%);
  border:none;
  color:#fff;
}
.blog-side-card__icon{
  width:48px;height:48px;
  display:flex;align-items:center;justify-content:center;
  border-radius:12px;
  background:rgba(255,255,255,.13);
  font-size:25px;
  margin-bottom:13px;
}
.blog-side-card h2{
  font-size:19px;
  line-height:1.3;
  margin:0 0 7px;
  font-weight:800;
}
.blog-side-card p{
  color:#64748b;
  font-size:14px;
  line-height:1.6;
  margin:0 0 15px;
}
.blog-side-card--cta p{color:#dbeafe}
.blog-side-actions{display:grid;gap:9px}
.blog-side-btn{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  padding:10px 14px;
  font-weight:800;
  font-size:14px;
  text-decoration:none;
}
.blog-side-btn--wa{background:#20d366;color:#fff}
.blog-side-btn--call{background:#fff;color:#075bb5}
.blog-side-btn:hover{opacity:.92}

.blog-side-title{
  font-size:17px!important;
  color:#0f172a;
  padding-bottom:11px;
  margin-bottom:12px!important;
  border-bottom:1px solid #e2e8f0;
}
.blog-service-list,.blog-recent-list{
  list-style:none!important;
  margin:0!important;
  padding:0!important;
}
.blog-service-list li,.blog-recent-list li{
  border-bottom:1px solid #edf2f7;
  padding:9px 0;
  margin:0!important;
}
.blog-service-list li:last-child,.blog-recent-list li:last-child{border-bottom:0}
.blog-service-list a,.blog-recent-list a{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:#334155;
  text-decoration:none;
  font-size:13px;
  line-height:1.45;
}
.blog-service-list a:hover,.blog-recent-list a:hover{color:#075bb5}
.blog-service-list a::after{content:"→";color:#075bb5;font-weight:800}
.blog-recent-date{
  display:block;
  margin-top:3px;
  color:#94a3b8;
  font-size:11px;
}

.blog-pagination{
  margin-top:28px;
}
.blog-pagination .nav-links{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  justify-content:center;
}
.blog-pagination a,.blog-pagination span{
  min-width:38px;
  height:38px;
  padding:0 11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #dbe3ed;
  border-radius:8px;
  background:#fff;
  color:#334155;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}
.blog-pagination .current{
  background:#075bb5;
  border-color:#075bb5;
  color:#fff;
}

.article-shell{background:#f4f7fb;padding:28px 0 64px}
.article-layout{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(280px,360px);
  gap:28px;
  align-items:start;
}
.article-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 7px 28px rgba(15,23,42,.06);
}
.article-card__top{padding:24px 26px 0}
.article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  color:#64748b;
  font-size:12px;
  margin-bottom:13px;
}
.article-meta__category{
  color:#075bb5;
  font-weight:800;
}
.article-card h1{
  color:#0f172a!important;
  font-size:clamp(30px,5vw,48px);
  line-height:1.12;
  font-weight:850;
  letter-spacing:-.6px;
  margin:0 0 15px;
}
.article-author{
  display:flex;
  align-items:center;
  gap:10px;
  padding-bottom:20px;
  color:#64748b;
  font-size:13px;
}
.article-author__avatar{
  width:34px;height:34px;border-radius:50%;
  background:#e2e8f0;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.article-author__avatar img{width:100%;height:100%;object-fit:cover}
.article-featured{
  width:100%;
  max-height:520px;
  object-fit:cover;
  display:block;
}
.article-share{
  margin:22px 26px 0;
  padding:14px;
  border:1px solid #dbe7f5;
  background:#f7faff;
  border-radius:10px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}
.article-share strong{font-size:13px;color:#475569;margin-right:3px}
.article-share a{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:7px 12px;
  border-radius:7px;
  color:#fff;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
}
.article-share__fb{background:#1877f2}
.article-share__wa{background:#20d366}
.article-share__x{background:#111827}

.article-content{
  padding:26px;
  color:#334155;
  font-size:16px;
  line-height:1.85;
}
.article-content > *:first-child{margin-top:0}
.article-content h2{
  color:#0f172a;
  font-size:clamp(23px,3vw,30px);
  line-height:1.3;
  margin:34px 0 12px;
  font-weight:800;
}
.article-content h3{
  color:#0f172a;
  font-size:21px;
  line-height:1.35;
  margin:27px 0 10px;
  font-weight:800;
}
.article-content h4{color:#0f172a;font-size:18px;margin:22px 0 8px}
.article-content p{margin:0 0 18px}
.article-content ul,.article-content ol{
  margin:0 0 20px 22px;
  padding-left:18px;
}
.article-content ul{list-style:disc}
.article-content ol{list-style:decimal}
.article-content li{margin-bottom:8px}
.article-content a{color:#075bb5;text-decoration:underline;text-underline-offset:2px}
.article-content img{max-width:100%;height:auto;border-radius:10px}
.article-content blockquote{
  margin:24px 0;
  padding:16px 20px;
  border-left:4px solid #075bb5;
  background:#f4f8fd;
  color:#475569;
  border-radius:0 8px 8px 0;
}
.article-content table{
  width:100%;
  border-collapse:collapse;
  margin:22px 0;
  display:block;
  overflow-x:auto;
}
.article-content th,.article-content td{
  border:1px solid #dbe3ed;
  padding:9px 12px;
  text-align:left;
  white-space:nowrap;
}
.article-content th{background:#f8fafc;color:#0f172a}

.article-cta{
  margin:0 26px 26px;
  padding:22px;
  border-radius:12px;
  background:linear-gradient(135deg,#0b2342,#075bb5);
  color:#fff;
}
.article-cta h2{color:#fff!important;margin:0 0 7px;font-size:22px}
.article-cta p{color:#dbeafe;margin:0 0 15px;font-size:14px}
.article-cta__actions{display:flex;flex-wrap:wrap;gap:9px}
.article-cta__btn{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 15px;
  border-radius:8px;
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
}
.article-cta__btn--wa{background:#20d366}
.article-cta__btn--call{background:#fff;color:#075bb5}

.related-posts{
  margin-top:30px;
}
.related-posts h2{
  font-size:23px;
  color:#0f172a;
  margin:0 0 15px;
  font-weight:800;
}
.related-posts__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
}
.related-post{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:11px;
  overflow:hidden;
}
.related-post__img{display:block;aspect-ratio:16/9;background:#eaf1f8}
.related-post__img img{width:100%;height:100%;object-fit:cover;display:block}
.related-post__body{padding:13px}
.related-post h3{font-size:15px;line-height:1.35;margin:0}
.related-post h3 a{color:#0f172a;text-decoration:none}
.related-post h3 a:hover{color:#075bb5}

.blog-empty{
  background:#fff;border:1px solid #e2e8f0;border-radius:14px;
  padding:35px;text-align:center;color:#64748b
}

@media(max-width:900px){
  .blog-layout,.article-layout{grid-template-columns:1fr}
  .blog-sidebar{position:static}
}
@media(max-width:680px){
  .blog-shell{padding:30px 0 45px}
  .blog-container,.blog-hero__inner{padding-left:15px;padding-right:15px}
  .blog-post-grid,.related-posts__grid{grid-template-columns:1fr}
  .blog-hero{padding:32px 0 35px}
  .blog-hero h1{font-size:32px}
  .article-shell{padding:18px 0 45px}
  .article-card__top{padding:20px 18px 0}
  .article-card h1{font-size:31px}
  .article-share{margin:18px 18px 0}
  .article-content{padding:21px 18px;font-size:15.5px}
  .article-cta{margin:0 18px 20px}
}
@media(max-width:420px){
  .blog-side-card{padding:17px}
  .article-share{align-items:stretch;flex-direction:column}
  .article-share strong{margin-bottom:2px}
  .article-share a{justify-content:center}
  .article-cta__actions{flex-direction:column}
  .article-cta__btn{width:100%}
}
