/* Masonry grid styles (moved out of the old index/category/post pages) */
* { box-sizing: border-box; }

body { font-family: sans-serif; }

/* ---- grid ---- */

.grid {
  /*background: #EEE;
  max-width: 1200px;*/
  counter-reset: grid-item;  
  margin: 0 auto; 
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- grid-item ---- */

.grid-item {
  width: 240px;
  height: 415px;
  /*float: left;
  background: #D26;*/
  border: 1px solid #333;
  border-color: hsla(0, 0%, 0%, 0.5);
  border-radius: 5px;
  color:white;  
  margin-bottom: 10px;  
  overflow:hidden;  
  }

.grid-item a:hover{
    text-decoration:none;
}

.grid-item--width2 { width: 320px; }
.grid-item--width3 { width: 490px; }
.grid-item--width4 { width: 720px; }

.grid-item--height2 { height: 435px; }
.grid-item--height3 { height: 455px; }
.grid-item--height4 { height: 480px; }

.grid-item:before {  
  display: block;
  color: white;
  padding-top: 0.5em;
  text-align: center;
  font-size: 1.4rem;
}

.grid-item h1 {           
    color: #fff;
    padding: 10px;
    margin-top: 350px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    /* background: rgb(0,0,0); */
    background: rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 0 30px rgb(0 0 0 / 70%);
    box-shadow: 0 0 30px rgb(0 0 0 / 80%);
}

/*.grid-item h1:hover{
    text-decoration:underline;
}*/
