.page{
  padding:0;
}

/*GRID*/

.month-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
  margin-top:20px;
}

/*CARD*/

.month-card{
  display:flex;
  height:140px;
  overflow:hidden;
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 25px rgba(0,0,0,0.06);
  text-decoration:none;
  color:inherit;
  transition:0.25s ease;
}

.month-card:hover{
  transform:translateY(-6px);
}

.month-card img{
  width:50%;
  height:100%;
  object-fit:cover;
  flex-shrink:0;
}

.month-card-content{
  width:60%;
  padding:10px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
}

.month-category{
  font-size:12px;
  color:#666;
}

.month-title{
  margin:4px 0;
  font-size:14px;
  font-weight:500;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.month-date{
  font-size:12px;
  color:#999;
}

/*RESPONSIVE*/

@media (max-width:1200px){
  .month-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:20px;
  }
}

@media (max-width:900px){
  .month-grid{
    gap:16px;
  }

  .month-card{
    height:130px;
  }
}

@media (max-width:600px){
  .month-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .month-card{
    height:140px;
    flex-direction:row;
  }

  .month-card img{
    width:40%;
    height:100%;
  }

  .month-card-content{
    width:60%;
  }
}
