
/* Blogs  */
.blogs{
    padding-top: 200px;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
}
.blog-card {
  transition: transform 0.3s, box-shadow 0.3s;
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 23px;
  margin-top: 25px;
}

.blog-image {
  width: 100%;
  object-fit: cover;
}
.blog-content {
  padding: 20px;
  margin-top: -20px;
  background-color: #ffffff;
  border-radius: 15px;
}
.blog-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
}
.blog-meta {
  color: #888;
  font-size: 0.875rem;
  margin-top: 5px;
}
.readMore{
  display: flex;
  align-items:end;
  text-align: right;
  margin-left: 55%;
}
.blog-button {
  background: linear-gradient(to right, #991b1e, #3e403f);
  color: white;
  font-weight: bold;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease, box-shadow 0.3s ease;
  max-height: 50px;
}


.blog-button:hover {
  background: linear-gradient(to right, #3e403f, #991b1e);
  box-shadow: 0 3px 8px rgba(160, 35, 35, 0.4);
}


/**************
 ** SideBar **
**************/
.sidebar_col {
  max-width: 325px;
  margin-right: 10px;
  transition: all 0.3s ease-in-out;
}
.sidebar_toggle {
  display: none;
  position: absolute;
  left: 0;
  top: 20px;
  background:#3e403f;
  color: white;
  font-size: 20px;
  padding: 10px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

#sidebarToggle:hover {
  background: #371d5a;
}

.sidebar_col.collapsed {
  transform: translateX(-100%);
}

.sidebar_search
{
	width: 100%;
}
.sidebar_search_input
{
	width: 100%;
	height: 44px;
	border: none;
	border-bottom: solid 2px #e6e7f4;
	outline: none;
}
.sidebar_search_button
{
	position: absolute;
	top: 0;
	right: 0;
	width: 17px;
	height: 44px;
	border: none;
	outline: none;
	background: transparent;
	cursor: pointer;
}
.sidebar_search_button .mag_glass
{
	fill: #991b1e;
}
.sidebar_search_button:hover .mag_glass
{
	fill: #371d5a;
}
.sidebar_archives
{
	margin-top: 94px;
}
.sidebar_title
{
	font-size: 18px;
	font-weight: 600;
	color: #404551;
}
.sidebar_list
{
	margin-top: 40px;
}
.sidebar_list li:not(:last-child)
{
	margin-bottom: 19px;
}
.sidebar_list li a
{
	font-size: 14px;
	font-weight: 600;
	color: #929191;
}
.sidebar_list li a:hover
{
	color: #404551;
}
.sidebar_categories
{
	margin-top: 89px;
}
.sidebar_latest_posts
{
	margin-top: 89px;
}
.latest_posts_container
{
	margin-top: 35px;
}
.latest_post:not(:last-child)
{
	margin-bottom: 23px;
}
.latest_post_image
{
	float: left;
	z-index: 2;
}
.latest_post_content
{
	padding-left: 98px;
}
.latest_post_title a
{
	font-size: 15px;
	font-weight: 600;
	color: #2b2b2b;
}
.latest_post_title a:hover
{
	color: #991b1e;
}
.latest_post_meta
{
	margin-top: 3px;
}
.latest_post_author
{
	display: inline-block;
	margin-right: 8px;
}
.latest_post_author a
{
	font-size: 12px;
	font-weight: 600;
	color: #929191;
}
.latest_post_author a:hover
{
	color: #2b2b2b;
}
.latest_post_author::after
{
	display: block;
	position: absolute;
	top: 1px;
	right: -8px;
	content: '/';
}
.latest_post_date
{
	display: inline-block;
}
.latest_post_date a
{
	font-size: 12px;
	font-weight: 600;
	color: #929191;
}
.latest_post_date a:hover
{
	color: #2b2b2b;
}
.sidebar_gallery
{
	margin-top: 94px;
}
.gallery_container
{
	margin-top: 42px;
}
.gallery_item
{
	width: calc((100% - 18px) / 3);
	margin-bottom: 9px;
}
.gallery_item img
{
	width: 100%;
}
@media (max-width: 768px){
    .blogs{
        padding-top: 75px;
        display: flex;
    }
    .blog-card{
      width: 300px;
      margin: 20px;
    }
    .sidebar_col {
      position: fixed;
      top: 0;
      left: -100%;
      width: 300px;
      height: 100vh;
      background: #fff;
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
      padding: 20px;
      z-index: 1000;
      overflow-y: auto;
    }
  
    .sidebar_open {
      left: 0;
    }
  
    /* Toggle button */
    .sidebar_toggle {
      display: block;
      position: fixed;
      top: 62px;
      left: 2px;
      background: none;
      color: #3e403fda;
      border: none;
      padding: 4px 8px;
      font-size: 16px;
      cursor: pointer;
      z-index: 1100;
    }
}