/* Add here all your CSS customizations */
/*box head news*/
.box-item {
    float: left;
    opacity: 1;
    overflow: hidden;
    position: relative;
}

.box-item img {
    width: 100%;
}
.box-item a {color:#FFF;}

.box-item .box-post span.meta {
    font-family:  sans-serif;
    font-size: 12px;
    color: #fff;
    margin-top: 15px;
    display: block;
}

.box-item .box-post span.meta span {
    margin-right: 15px;
}

.box-item .box-post {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background:rgba(0,0,0,0.6);
    padding: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.box-item .box-post h1.post-title {  
   margin-bottom:10px;
}

.row.display-flex {
  display: flex;
  flex-wrap: wrap;
}
.row.display-flex > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

/* Modern card styling */
.panel {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
  border-radius: 8px;
  border: none;
}
.panel:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.thumbnail {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border-radius: 8px;
  border: none;
  overflow: hidden;
}
.thumbnail:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  transform: translateY(-5px);
}

.thumbnail img {
  transition: transform 0.3s ease;
}
.thumbnail:hover img {
  transform: scale(1.05);
}

.thumbnail .caption {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
