﻿/*** BLOG STYLES**/

.blogContainer {
  display: flex;
  flex-wrap: wrap;
  margin-top:0px;
  margin-bottom:20px;	
  color:#ffffff;
/*background-color: #d0dbe2;
padding: 30px;*/
}

a:link.readmore {color: #AD8258; text-decoration: underline; text-transform:uppercase}
a:visited.readmore {color: #AD8258; text-decoration: underline; text-transform:uppercase}
a:active.readmore {color: #AD8258; text-decoration: none; text-transform:uppercase}
a:hover.readmore {color: #EBDCBB; text-decoration: none; text-transform:uppercase}

h2 span.author{
	font-size:18px;
}

.blogItem {
	flex:31%;
	padding:10px;
	margin:10px;
    border:4px double #AE7C57;
     -webkit-box-shadow: 0px 0px 15px 0px rgba(7, 30, 46, 0.95);
    -moz-box-shadow:    0px 0px 5px 0px rgba(7, 30, 46, 0.95);
    box-shadow:         0px 0px 5px 0px rgba(7, 30, 46, 0.95); 
    background-color:#1E0002;
    color:#ffffff;
}

.blogItem p {
    color:#ffffff;
}

.blogItem img {
	width:100%;
	height:350px;
	overflow:hidden;
	object-fit: cover;
	top: 0;
    left: 0;
}

.blogContainer h2{
text-align:center;
	margin:20px auto;
}


/* Responsive layout - makes a two column-layout instead of a three-column layout */
@media (max-width: 1000px) {
    .blogItem {
    flex: 47%;
  }
}


/* Responsive layout - makes a one column-layout instead of a two-column layout */
@media (max-width: 600px) {
    .blogItem {
    flex: 100%;
  }


.blogContainer h1{
text-align:center;
	margin:20px auto;
	color:#ffffff!important;
}

  .btn-item {
    flex: 46%;
    font-size:20px;
    padding:5px;
    color:#ffffff;
  }

  .btn-item p{
    color:#ffffff;
  }
  

 .btn-container {
  display: flex;
  flex-wrap: wrap;
  margin-top:1%;
  margin-bottom:1%;
}
}


/*** BLOG DETAILS ADDITIONAL IMAGES STYLES**/

#blogGallery {
  display: block;
  margin: auto;
  width: 100%;
  text-align: center;
}

.blogGalleryContainer {
  display: inline-block;
  margin: 0 7px 15px; /* Balanced spacing between containers */
  padding: 4px;
  text-align: center;
  border-radius: 2px;
  vertical-align: top;
	word-wrap: break-word;
	max-width:300px; 
	font-size:14px;
}

.blogGalleryContainer img {
  display: block; /* Changed to block for better control within container */
  width:100%;
  max-width: 300px; 
  height: 250px; /* Fixed height to ensure all images are the same size */
  object-fit: cover; /* Crops the image to fit the fixed dimensions without distortion */
  border: 1px solid #ccc;
  padding: 5px;
  background: #f2f2f2;
  -webkit-box-shadow: 0 28px 16px -26px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 28px 16px -26px rgba(0, 0, 0, 0.5);
  box-shadow: 0 28px 16px -26px rgba(0, 0, 0, 0.5);
}