
/* ===== Blog Listing Page Styles ===== */

/* Category filter dropdown */
span.pgTitle, h1.pgTitle
 {
    font-size: 30px;
    font-weight: 700;
    color: #1f2329;
    font-family: "Poppins", sans-serif;
    padding-top: 8px;
    display: block;
    text-align: left;
 }
.blog-filter-form {
  text-align: right;
}
.blog-filter-form label{font-size: 18px; font-weight: 600;color: #494949;font-family: "Poppins", sans-serif;}

.blog-filter-form select {
  padding: 5px 50px 5px 20px;
  border: 1px solid #d2d2d2;
  border-radius: 20px;
  font-size: 18px;
  color: #494949;
  background: #fff url("data:image/svg+xml;utf8,<svg fill='%23005baa' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 10px center;
  background-size: 16px 16px;
  appearance: none;
  cursor: pointer;
  min-width: 200px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-filter-form select:hover {
  border-color: #005baa;
}

.blog-filter-form select:focus {
  outline: none;
  border-color: #005baa;
  box-shadow: 0 0 5px rgba(0, 91, 170, 0.4);
}


/* ===== Blogs-Custom Page Alignment with /blog ===== */

/* Blog listing container */
#blog-results {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 30px;
  margin-top: 30px;
}

/* Blog article cards */
#blog-results article {
  flex: 0 0 calc(33.333% - 20px);
  display: flex;
  flex-direction: column;
  /* background: #fff; */
  /* border: 1px solid #eaeaea; */
  /* border-radius: 8px; */
  overflow: hidden;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); */
  transition: transform 0.3s ease;
}
#blog-results article:hover {
  /* transform: translateY(-5px); */
  /* box-shadow: 3px 3px 14px 6px rgb(0 0 0 / 15%); */
}

/* Featured image */
.caf-featured-img-box {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #eaeaea;
  border-radius: 0;
}
.author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    padding-left: 10px;
    padding-right: 5px;
}

.date {
    font-size: 0.875rem;
    color: #6c757d; /* subtle grey for the date */
}
.custom-author-name{color: #0d6efd;font-size: 16px;font-weight: 600;font-family: 'Poppins';}

/* Post area */
#manage-post-area {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #fff !important;
  margin-top: -39px;
  width: 91%;
  border-bottom: 4px solid #dbdbdb;
}
#manage-post-area:hover{box-shadow: 3px 3px 14px 6px rgb(0 0 0 / 15%);border-color: var(--red-color);transition: color .5s;}

/* Post Title */
.caf-post-title h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0;
  line-height: 1.4;
}
.caf-post-title h2 a {
  color: #222;
  text-decoration: none;
}
.caf-post-title h2 a:hover {
  color: #005baa;
}

/* Meta Info */
.caf-meta-content {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
  color: #6d7178;
  font-family: "Poppins", sans-serif;
}
.caf-meta-content .author {
  display: flex;
  align-items: center;
  margin-right: 15px;
}
.caf-meta-content .author img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-right: 6px;
}

/* Categories */
.caf-categories {font-size: 16px;color: #fff;margin-bottom: 12px;background: #2d2435;padding: 2px 15px}
.caf-categories a{text-decoration: none; color: #fff;}
.caf-categories i {
  margin-right: 5px;
  color: #005baa;
}

/* Excerpt */

.caf-content.custom {
  font-size: 16px;
  color: #000!important;
  margin-bottom: 15px;
  line-height: 1.6;
  flex-grow: 1;
  font-family: "Roboto", sans-serif
}

/* Read More */
.caf-content-read-more {
  margin-top: auto;
  padding: 10px 0;
}
/* .caf-read-more {
  display: inline-block;
  padding: 6px 12px;
  background: #005baa;
  color: #fff;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
} */
 .caf-read-more{
    font-family: "Roboto", sans-serif !important;
    border-color: transparent !important;
    color: #ff1a2e !important;
    background-color: transparent !important;
    padding: 0 !important;
    text-decoration: none;
 }
.caf-read-more:hover {
  /* background: #003f73;
  color: #fff !important; */
  font-family: "Roboto", sans-serif !important;
    border-color: transparent !important;
    color: #c01722 !important;
    background-color: transparent !important;
}

/* Responsive */
@media (max-width: 991px) {
  #blog-results article {
    flex: 0 0 calc(50% - 15px);
  }
}
@media (max-width: 767px) {
  #blog-results article {
    flex: 0 0 100%;
  }
  .caf-featured-img-box {
    height: 180px;
  }
}
