/* GETLiR latest-posts / v1.7.0: compact, responsive, Ajax append; isolated scope. */
.glbs-posts,.glbs-posts *,.glbs-posts *::before,.glbs-posts *::after{box-sizing:border-box}
.glbs-posts{
  --gp-blue:#024776;--gp-blue-dark:#043752;--gp-gold:#c9a137;
  --gp-ink:#203747;--gp-muted:#7b8c98;--gp-line:#e6edf2;
  width:100%;max-width:100%;margin:0;padding:12px 0 22px;
  direction:rtl;text-align:right;color:var(--gp-ink);
  font-family:'AzarMehr','Azar Mehr','IRANSansX','IRANSans',Tahoma,sans-serif;
  font-size:14px;line-height:1.8;isolation:isolate;
}
.glbs-posts .glbs-posts-inner{width:min(1180px,100%);margin-inline:auto}
.glbs-posts .glbs-posts-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 19px}
.glbs-posts .glbs-posts-heading>div{min-width:0}
.glbs-posts .glbs-posts-eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--gp-blue);font-size:11px;font-weight:700;letter-spacing:.02em}
.glbs-posts .glbs-posts-eyebrow::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--gp-gold)}
.glbs-posts .glbs-posts-heading h2{margin:2px 0 0;padding:0;color:var(--gp-blue-dark);font-family:inherit;font-size:clamp(19px,1.8vw,24px);font-weight:800;line-height:1.6}
.glbs-posts a{text-decoration:none!important}
.glbs-posts .glbs-posts-grid{display:grid;grid-template-columns:repeat(var(--glbs-post-cols,3),minmax(0,1fr));align-items:stretch;gap:18px}
.glbs-posts .glbs-posts-card{min-width:0;display:flex;flex-direction:column;gap:0;margin:0;padding:0;background:#fff;overflow:hidden;border:1px solid var(--gp-line);border-radius:15px;box-shadow:0 4px 13px rgba(2,71,118,.03);transition:border-color .22s,transform .22s,box-shadow .22s}
.glbs-posts .glbs-posts-card:hover{border-color:#cbdfe9;transform:translateY(-3px);box-shadow:0 11px 27px rgba(2,71,118,.075)}
.glbs-posts .glbs-posts-image{display:block;width:100%;aspect-ratio:16/8.5;position:relative;overflow:hidden;background:linear-gradient(125deg,#f1f6f9,#e4edf2);border-radius:14px 14px 0 0}
.glbs-posts .glbs-posts-image img{width:100%!important;max-width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;border:0!important;margin:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;transition:transform .4s ease}
.glbs-posts .glbs-posts-card:hover .glbs-posts-image img{transform:scale(1.035)}
.glbs-posts .glbs-posts-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:rgba(2,71,118,.5);font-size:28px;font-weight:900;letter-spacing:.04em}
.glbs-posts .glbs-posts-card-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:12px 15px 14px;gap:0}
.glbs-posts .glbs-posts-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:var(--gp-muted);font-size:10.5px;font-weight:400;margin-bottom:6px}
.glbs-posts .glbs-posts-card-meta time{font:inherit}
.glbs-posts .glbs-posts-meta-dot{width:3px;height:3px;border-radius:50%;background:var(--gp-gold)}
.glbs-posts .glbs-posts-card h3{font-family:inherit;font-weight:800;font-size:15px;line-height:1.85;margin:0 0 10px;padding:0;color:var(--gp-blue);min-height:3.7em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.glbs-posts .glbs-posts-card h3 a{color:inherit!important;font:inherit}
.glbs-posts .glbs-posts-card h3 a:hover{color:var(--gp-blue-dark)!important}
.glbs-posts .glbs-posts-description{font-size:12px;color:#728491;line-height:1.8;margin:-3px 0 12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.glbs-posts .glbs-posts-read{display:inline-flex;align-items:center;gap:6px;margin-top:auto;color:var(--gp-blue)!important;font-size:11.8px;font-weight:800;transition:gap .2s}
.glbs-posts .glbs-posts-read:hover{gap:10px;color:var(--gp-blue-dark)!important}
.glbs-posts .glbs-posts-read span{font-size:15px;color:var(--gp-gold);line-height:1}
.glbs-posts.glbs-posts-empty{padding:22px 0;color:var(--gp-muted)}
.glbs-posts.glbs-posts-empty p{margin:0}

/* AJAX navigation: show only while more published posts remain. */
.glbs-posts .glbs-posts-load-wrap{display:flex;flex-direction:column;align-items:center;gap:8px;padding:23px 0 0}
.glbs-posts .glbs-posts-load-more{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:198px;
  min-height:43px;padding:9px 21px;border:1px solid rgba(2,71,118,.18);border-radius:12px;
  color:var(--gp-blue);background:#f2f7fa;box-shadow:none;
  font:800 12.5px/1.7 'AzarMehr','Azar Mehr',Tahoma,sans-serif;
  cursor:pointer;transition:background .2s,border-color .2s,transform .2s;
}
.glbs-posts .glbs-posts-load-more:hover:not(:disabled){background:#e7f2f8;border-color:rgba(2,71,118,.35);transform:translateY(-1px);color:var(--gp-blue-dark)}
.glbs-posts .glbs-posts-load-more:focus-visible{outline:3px solid rgba(201,161,55,.55);outline-offset:3px}
.glbs-posts .glbs-posts-load-more:disabled{opacity:.7;cursor:wait}
.glbs-posts .glbs-posts-load-icon{font-size:20px;font-weight:400;line-height:1;color:var(--gp-gold)}
.glbs-posts .glbs-posts-loader{display:none;width:14px;height:14px;border-radius:50%;border:2px solid rgba(2,71,118,.17);border-top-color:var(--gp-blue);animation:glbs-posts-spin .7s linear infinite}
.glbs-posts .glbs-posts-load-more.is-loading .glbs-posts-loader{display:inline-block}
.glbs-posts .glbs-posts-load-more.is-loading .glbs-posts-load-icon{display:none}
.glbs-posts .glbs-posts-load-feedback{font-size:12px;line-height:1.7;min-height:0;margin:0;color:var(--gp-blue)}
.glbs-posts .glbs-posts-load-feedback:empty{display:none}
.glbs-posts .glbs-posts-load-feedback.is-error{color:#9c433d}
@keyframes glbs-posts-spin{to{transform:rotate(360deg)}}
@media(min-width:769px) and (max-width:1099px){
  .glbs-posts .glbs-posts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}
@media(max-width:768px){
  .glbs-posts{padding:10px 0 18px}
  .glbs-posts .glbs-posts-heading{margin-bottom:16px}
  .glbs-posts .glbs-posts-grid{grid-template-columns:1fr;gap:15px}
  .glbs-posts .glbs-posts-card{border-radius:14px}
  .glbs-posts .glbs-posts-image{aspect-ratio:16/8.8;border-radius:13px 13px 0 0}
  .glbs-posts .glbs-posts-card-body{padding:12px 14px 14px}
  .glbs-posts .glbs-posts-card h3{font-size:14px;min-height:0}
  .glbs-posts .glbs-posts-load-wrap{padding-top:19px}
}
@media(prefers-reduced-motion:reduce){
  .glbs-posts *{transition:none!important;animation:none!important}
  .glbs-posts .glbs-posts-card:hover,.glbs-posts .glbs-posts-card:hover img{transform:none!important}
}
