/* =====================================================
   DUSHISTO BLOG — CARDS (ASTRA FIXED FINAL)
===================================================== */

.blog .site-main,
.blog .site-main *{
  box-sizing:border-box;
}

/* контейнер */
.blog .site-content > .ast-container{
  max-width:1200px;
  margin:0 auto;
}

/* =====================================================
   ASTRA GRID (ВАЖНО)
===================================================== */

/* Astra posts container */
.blog .ast-row{
  display:grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap:28px;
}

/* убираем flex Astra */
.blog .ast-row::before,
.blog .ast-row::after{
  display:none !important;
}

/* элемент карточки */
.blog .ast-row article{
  width:auto !important;
  margin:0 !important;
  float:none !important;

  background:#fff;
  border:1px solid rgba(42,33,26,.10);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 20px 55px rgba(0,0,0,.06);
  transition:.3s ease;
}

.blog .ast-row article:hover{
  transform:translateY(-6px);
  box-shadow:0 28px 70px rgba(0,0,0,.10);
}

/* =====================================================
   IMAGE
===================================================== */

.blog .ast-row article img{
  width:100%;
  height:360px;
  object-fit:cover;
  display:block;
}

/* =====================================================
   TYPO
===================================================== */

.blog .ast-row article .entry-header,
.blog .ast-row article .entry-content{
  padding:20px 22px;
}

.blog .ast-row article .entry-title{
  margin:0 0 10px;
}

.blog .ast-row article .entry-title a{
  font-family:var(--font-brand);
  font-size:28px;
  line-height:1.25;
  color:var(--dush-ink);
  text-decoration:none;
}

.blog .ast-row article .entry-summary{
  font-family:var(--font-ui);
  font-size:15px;
  line-height:1.8;
  color:#6f6a63;
}

/* meta */
.blog .ast-row article .entry-meta{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:#8e847a;
  margin-bottom:10px;
}

/* =====================================================
   PAGINATION
===================================================== */

.blog .navigation.pagination{
  margin-top:40px;
}

.blog .navigation.pagination .page-numbers{
  display:flex;
  justify-content:center;
  gap:10px;
}

.blog .navigation.pagination a,
.blog .navigation.pagination span{
  height:42px;
  min-width:42px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(42,33,26,.15);
  background:#fff;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width:1100px){
  .blog .ast-row{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:768px){
  .blog .ast-row{
    grid-template-columns:1fr;
  }

  .blog .ast-row article img{
    height:260px;
  }
}
