/* =========================================================
   BLOG LISTAGEM - UNIVERSOMED
========================================================= */
.um-blog-list-page{
  background:#f3f6fb;
}

.um-blog-container{
  width:min(1180px, calc(100% - 48px));
  margin:0 auto;
}

.um-blog-hero{
  padding:34px 0 28px;
  background:linear-gradient(180deg,#f8fbff 0%,#f3f6fb 100%);
  border-bottom:1px solid #e4eaf4;
}

.um-blog-breadcrumbs{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:18px;
  color:#6a789b;
  font-size:14px;
}

.um-blog-breadcrumbs a{
  color:#3550c8;
  font-weight:700;
}

.um-blog-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 420px;
  gap:30px;
  align-items:end;
}

.um-blog-eyebrow{
  display:inline-flex;
  padding:7px 11px;
  border-radius:999px;
  background:#eef2ff;
  color:#4f46e5;
  font-size:13px;
  font-weight:900;
  margin-bottom:12px;
}

.um-blog-hero h1{
  margin:0 0 10px;
  color:#122d72;
  font-size:clamp(32px,4vw,48px);
  line-height:1.04;
  letter-spacing:-.04em;
  font-weight:900;
  max-width:780px;
}

.um-blog-hero p{
  margin:0;
  color:#5d6b94;
  font-size:16px;
  line-height:1.65;
  max-width:780px;
}

.um-blog-search{
  background:#fff;
  border:1px solid #e0e7f2;
  border-radius:18px;
  padding:16px;
  box-shadow:0 10px 26px rgba(27,49,107,.06);
}

.um-blog-search label{
  display:block;
  margin-bottom:9px;
  color:#122d72;
  font-size:13px;
  font-weight:900;
}

.um-blog-search div{
  display:grid;
  grid-template-columns:1fr 106px;
  gap:10px;
}

.um-blog-search input{
  width:100%;
  height:46px;
  border:1px solid #d7e0ef;
  border-radius:12px;
  padding:0 14px;
  color:#1d2f59;
  background:#fbfcff;
  outline:none;
}

.um-blog-search input:focus{
  border-color:#3550c8;
  box-shadow:0 0 0 4px rgba(53,80,200,.10);
}

.um-blog-search button{
  height:46px;
  border:0;
  border-radius:12px;
  background:linear-gradient(135deg,#3550c8,#4f67da);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}

.um-blog-results{
  padding:30px 0 48px;
}

.um-blog-results-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  margin-bottom:20px;
}

.um-blog-results-head h2{
  margin:0 0 6px;
  color:#122d72;
  font-size:30px;
  line-height:1.1;
  letter-spacing:-.03em;
  font-weight:900;
}

.um-blog-results-head p{
  margin:0;
  color:#66739e;
  font-size:14px;
  font-weight:700;
}

.um-blog-clear{
  color:#3550c8;
  font-size:14px;
  font-weight:900;
}

.um-blog-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:20px;
}

.um-blog-card{
  background:#fff;
  border:1px solid #e0e7f2;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(27,49,107,.06);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.um-blog-card:hover{
  transform:translateY(-3px);
  border-color:#d3dcec;
  box-shadow:0 14px 30px rgba(27,49,107,.11);
}

.um-blog-card-media{
  width:100%;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  background:#fff;
  display:block;
  padding:0;
  border-bottom:1px solid #edf1f7;
  overflow:hidden;
}

.um-blog-card-media img{
  width:100% !important;
  height:auto !important;
  max-width:100% !important;
  max-height:none !important;
  object-fit:initial !important;
  object-position:center center !important;
  display:block !important;
}
.um-blog-card-body{
  padding:16px 16px 15px;
}

.um-blog-card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.um-blog-card-top span{
  display:inline-flex;
  padding:5px 9px;
  border-radius:999px;
  background:#eef2ff;
  color:#4f46e5;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}

.um-blog-card-top small{
  color:#7a86a5;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

.um-blog-card-title{
  color:#122d72;
  text-decoration:none;
}

.um-blog-card-title h3{
  margin:0 0 10px;
  color:#122d72;
  font-size:20px;
  line-height:1.18;
  font-weight:900;
  letter-spacing:-.02em;
  min-height:48px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.um-blog-card-body p{
  margin:0;
  color:#61719c;
  font-size:14px;
  line-height:1.55;
  min-height:66px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.um-blog-card-footer{
  margin-top:14px;
  padding-top:13px;
  border-top:1px solid #edf1f7;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.um-blog-card-footer span{
  color:#7a86a5;
  font-size:12px;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.um-blog-card-footer a{
  color:#3550c8;
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}

.um-blog-pagination{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-top:28px;
}

.um-blog-pagination a,
.um-blog-pagination strong,
.um-blog-pagination span{
  min-width:40px;
  height:40px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid #dce3ef;
  background:#fff;
  color:#122d72;
  font-weight:900;
  font-size:14px;
}

.um-blog-pagination strong{
  background:#3550c8;
  border-color:#3550c8;
  color:#fff;
}

.um-blog-pagination span{
  background:transparent;
  border-color:transparent;
}

.um-blog-empty{
  background:#fff;
  border:1px solid #e0e7f2;
  border-radius:18px;
  padding:28px;
  box-shadow:0 8px 22px rgba(27,49,107,.06);
}

.um-blog-empty h3{
  margin:0 0 8px;
  color:#122d72;
  font-size:24px;
}

.um-blog-empty p{
  margin:0 0 14px;
  color:#61719c;
}

.um-blog-empty a{
  color:#3550c8;
  font-weight:900;
}

@media(max-width:980px){
  .um-blog-hero-grid{
    grid-template-columns:1fr;
  }

  .um-blog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:640px){
  .um-blog-container{
    width:min(100%, calc(100% - 18px));
  }

  .um-blog-hero{
    padding:24px 0 22px;
  }

  .um-blog-search div{
    grid-template-columns:1fr;
  }

  .um-blog-results-head{
    display:block;
  }

  .um-blog-clear{
    display:inline-block;
    margin-top:10px;
  }

  .um-blog-grid{
    grid-template-columns:1fr;
    gap:14px;
  }
}
/* =========================================================
   BLOG SEM BUSCA DUPLICADA NO HERO
========================================================= */
.um-blog-hero-grid-clean{
  display:block;
  max-width:900px;
}

.um-blog-hero-grid-clean h1,
.um-blog-hero-grid-clean p{
  max-width:900px;
}

.um-blog-hero-grid-clean p{
  font-size:16px;
}

/* =========================================================
   CORREÇÃO FINAL - IMAGEM DOS CARDS DO BLOG
   Mostra o banner inteiro sem cortar.
========================================================= */
.um-blog-card .um-blog-card-media{
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  display:block !important;
  padding:0 !important;
  background:#fff !important;
  overflow:hidden !important;
  border-bottom:1px solid #edf1f7 !important;
}

.um-blog-card .um-blog-card-media img{
  width:100% !important;
  height:auto !important;
  max-width:100% !important;
  max-height:none !important;
  object-fit:initial !important;
  object-position:center center !important;
  display:block !important;
}
