/* Blog Section Start  */

.blog_section {
  padding: 40px 0;
  background-color: var(--primary-color-light);
}

.blog_section .main_heading {
  text-align: center;
  color: var(--black);
  position: relative;
  padding-bottom: 10px;
}

.blog_section .main_heading::before {
  content: "";
  width: 75px;
  height: 5px;
  border-radius: 6px;
  background: var(--btn-bg-dark);
  bottom: 0;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.blog_section .d_grid {
  /* display: grid; */
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* justify-content: center; */
}

.blog_content {
  padding: 1rem;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transition: 0.3s linear;
  border: 1px solid #ddd;
  border-bottom: 3px solid transparent;
  width:33%;
  min-width:280px;
}

.blog_content:nth-child(even) {
  background: var(--primary-color-light);
}

.blog_content:nth-child(odd) {
  background: var(--secondry-light);
}

.blog_content:nth-child(even) .tag {
  background: var(--btn-bg-dark);
  color: var(--white);
}

.blog_content:nth-child(odd) .tag {
  background: var(--btn-bg-light);
}

.blog_content:hover {
  transform: translateY(-5px);
  box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
}

.blog_content:hover:nth-child(even) {
  border-bottom: 3px solid var(--fourth-color);
}

.blog_content:hover:nth-child(odd) {
  border-bottom: 3px solid #c8b69b;
}

.blog_content .blog_heading {
  font-family: var(--secondary-font);
  color: var(--black);
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.by_admin_login li {
  position: relative;
  display: inline-block;
  font-size: 14px;
  padding-left: 20px;
  margin-bottom: 10px;
  padding-right: 10px;
  color: var(--third-color);
  font-weight: 600;
}

.by_admin_login .by::before {
  font-family: "FontAwesome";
  content: "\f044";
  position: absolute;
  left: 0;
  top: 4px;
}

.by_admin_login .date::before {
  font-family: "FontAwesome";
  content: "\f073";
  position: absolute;
  left: 0;
  top: 4px;
}

.tag {
  padding: 0 2rem;
  display: inline-block;
  border-radius: 30px;
  font-weight: 500;
  color: var(--black);
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  border: 1px solid #ddd;
}

.blog_content .read_more a {
  color: var(--fourth-color);
  font-weight: 600;
  transition: 0.3s linear;
}

.blog_content .read_more {
  display: inline-block;
}

.blog_content .read_more i {
  opacity: 0;
  color: var(--fourth-color);
  font-weight: 600;
  transition: 0.3s linear;
}

.blog_content:hover .read_more i {
  opacity: 1;
  margin-left: 5px;
}

/* Blog Section End  */

.blog_section,
.video_section {
  /* padding: 40px 0; */
  background-color: white;
  font-family: arial;
}

.blog_section .main_heading {
  font-size: 40px;
  margin-bottom: 35px;
}

.select_dropdown .title {
  margin-bottom: 7px;
  font-weight: 600;
  color: #626262;
  font-family: system-ui;
}

.select_button {
  background: none;
  border: 1px solid grey;
  width: 230px;
  padding: 10px;
  font-family: system-ui;
  font-size: 16px;
  font-weight: 500;
}

.select_content {
  width: 230px;
}

.blog_section .d_grid {
  gap: 30px;
}

.tag {
  background: none;
  box-shadow: none;
  border-radius: none;
  border: none;
  color: #34698d;
  padding-left: 0px;
}

.blog_content:nth-child(even) .tag,
.blog_content:nth-child(odd) .tag {
  background: none;
  /* color: var(--white); */
  color: navy;
  font-family: arial;
  padding: 0px;
}

.blog_content {
  box-shadow: none;
  border-radius: 10px;
  padding: 20px 30px;
  /* max-height: 290px; */
  border: 1px solid #ddd;
}

p {
  line-height: 1.5;
  font-size: 16px;
  color: #383737;
  display: inline-block;
}

.blog_content p {
  /* max-height: 30%; */
  overflow: hidden;
}

.category_title {
  font-size: 34px;
  margin-top: 55px;
  border-bottom: 2px solid #bba171;
  padding-bottom: 10px;
  margin-bottom: 43px;
  color: #15155c;
}


@media (max-width: 576px) {


  .blog_section {
    padding: 25px 0;
}

  .blog_section .d_grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}
}