@charset "utf-8";

#board-wrap {
    width: 100%;
    max-width: calc(1400px + 10rem) !important;
    padding: 0 5rem;
    margin: 0 auto;
}

.adm-btn{
    position: absolute;
    right: 0;
    bottom: 2rem;
  }
  .adm-btn a{
    color: white;
    padding: 1rem 1.4rem;
    border-radius: 0.5rem;
  }
  a.write-btn{
    background-color: var(--point-color);
  }
  a.edit-btn{
    background-color: #ed6e6e;
  }



  
.item-list{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.item-list img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-list li{
  padding: 2rem;
  border: 1px solid #f1f1f1;
  display: flex;
  flex-direction: column;
}
.item a{
  display: flex;
  gap: 1rem;
}
.item-list li .image{
  position: relative;
  flex-shrink: 0;
}
.item-list li .image span{
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background-color: var(--point-color);
  color: white;
  padding: .5rem .9rem;
  line-height: 1;
  z-index: 2;
  border-radius: .5rem;
}
.item-list li .content{
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.item .thumbnail{
  max-width: 6rem;
}
.ui-pagenate{
  display: flex;
  justify-content: center;
  gap: .5rem;
  text-align: center;
}
.ui-pagenate strong{
  background-color: var(--point-color);
  color: white;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
}
.ui-pagenate a{
  border: 1px solid #f1f1f1;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
}
.ui-pagenate a.dir{
  border: none;
  width: auto;
  height: auto;
} 

@media(max-width: 1440px){
 #board-wrap { padding: 0; } 
}
@media(max-width: 1280px){
 .item-list { grid-template-columns: repeat(3, 1fr); } 
}
@media(max-width: 768px){
 .item-list { grid-template-columns: repeat(2, 1fr); } 
}
@media(max-width: 450px){
 .item-list { grid-template-columns: repeat(1, 1fr); } 
}