/* Enhanced styling for Bootstrap 3 containers with Flickr embeds */

/* Row styling for better spacing */
.row {
  margin-bottom: 30px;
  margin-top: 20px;
}

/* Column styling for each Flickr embed */
.col-md-6 {
  padding: 15px;
  margin-bottom: 15px;
}

/* Box styling for each column */
.col-md-6 {
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Heading styling below the Flickr embeds */
.col-md-6 h4 {
  margin-top: 15px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  padding: 0 10px;
}

/* Link styling for Flickr links */
.col-md-6 h4 a {
  color: #4682b4;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

/* Link hover effect */
.col-md-6 h4 a:hover {
  color: #36648b;
  text-decoration: none;
}

/* Link underline effect */
.col-md-6 h4 a:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #4682b4;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.col-md-6 h4 a:hover:after {
  transform: scaleX(1);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .col-md-6 {
    margin-bottom: 20px;
  }
  
  .col-md-6:last-child {
    margin-bottom: 0;
  }
  
  .col-md-6 h4 {
    margin-top: 10px;
    font-size: 15px;
  }
}