/* Componente compartilhado: blog-card */

.bl-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(16px,1.3vw,24px);
}

@media (max-width:1000px) {
  .bl-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:680px) {
  .bl-grid {
    grid-template-columns: 1fr;
  }
}

.bl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid rgba(110,240,220,.3);
  background: linear-gradient(170deg,rgba(10,52,64,.75),rgba(3,26,38,.9));
  box-shadow: inset 0 0 22px rgba(60,220,200,.08);
  transition: transform .2s,border-color .2s,box-shadow .2s;
}

.bl-card:hover {
  transform: translateY(-3px);
  border-color: rgba(182,232,94,.6);
  box-shadow: inset 0 0 22px rgba(60,220,200,.12),0 18px 40px rgba(0,0,0,.35);
}

.bl-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.bl-link:focus-visible {
  outline: 2px solid #B6E85E;
  outline-offset: 2px;
}

.bl-img {
  aspect-ratio: 532/266;
  overflow: hidden;
}

.bl-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.bl-card:hover .bl-img img {
  transform: scale(1.04);
}

.bl-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: clamp(20px,1.7vw,32px);
}

.bl-tag {
  align-self: flex-start;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(40,110,70,.45);
  border: 1px solid rgba(182,232,94,.25);
  color: #C8F27A;
  font-size: clamp(0.72rem,0.78vw,0.88rem);
  font-weight: 700;
  letter-spacing: .04em;
}

.bl-body h3 {
  margin: 4px 0 0;
  font-family: Manrope,sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem,1.45vw,1.65rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: #FFFFFF;
}

.bl-body p {
  margin: 0;
  font-size: clamp(0.95rem,1vw,1.1rem);
  line-height: 1.6;
  color: #BFD0DA;
}

.bl-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(110,240,220,.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: clamp(0.85rem,0.85vw,0.95rem);
  color: #9FB6C3;
}

.bl-meta b {
  color: #DCE8EE;
  font-weight: 700;
}

.bl-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #B6E85E;
  font-weight: 700;
}

.bl-img {
  aspect-ratio: 3/2 !important;
  background: #0A1B26;
}

