/* BLOG SECTION */
.post-item-image img {
  width: 100%;
  height: auto;
  display: block;
}

.section-blog {
  position: relative;
  overflow: hidden;
  text-align: center;
  margin: 5rem auto;
}

.top-section {
  position: relative;
}

.blog-swiper .swiper-slide .post-item {
  display: block;
  text-align: right;
}

.post-item-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #f0f0f0;
}

.post-item-image img {
  object-fit: cover;
  display: block;
  transition: all 0.35s ease-in-out;
}

.post-item-date {
  position: absolute;
  bottom: -15px;
  right: 12px;
  background: #000;
  padding: 0 5px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color3);
  z-index: 4;
  height: 32px;
}

.post-item-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2188738c;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color3);
  font-size: 18px;
  font-weight: bold;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease-in-out;
  z-index: 3;
}

.post-item:hover .post-item-image img {
  filter: blur(5px);
  transform: scale(1.1);
}

.post-item:hover .post-item-hover-overlay {
  opacity: 1;
  visibility: visible;
}

.post-item-title a {
  font-size: 18px;
  margin-top: 15px;
  text-align: right;
  color: var(--text-title);
}

.post-item:hover .post-item-title a {
  color: var(--color2);
}

.blog-swiper {
  position: relative;
}

.blog-swiper .swiper-slide {
  height: auto;
}

.navigation-container-blog {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.section-blog .swiper-nav {
  cursor: pointer;
  color: var(--body-color);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: none;
}

/* BLOG SECTION */
/* SIDEBAR */
.websima-blog-editor-content {
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #a3a2a0;
  position: relative;
  text-align: center;
}

.websima-blog-editor-content .websima-blog-icon-bg {
  top: -24px;
  position: absolute;
  left: 50%;
  background-color: #fff;
  width: 70px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  border-radius: 35px;
  transform: translateX(-50%);
}

.websima-blog-sidebar {
  position: sticky;
  top: 20px;
  z-index: 100;
  margin-bottom: 20px;
}
.widget_categories {
  background: #f8f7f7;
  padding: 40px 25px 25px 25px;
  border-radius: 25px;
  position: relative;
  margin-top: 20px;
}
.widget_categories .widget-title {
    background: var(--color2);
    color: var(--color3);
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 64px;
}
@media (max-width: 992px) {
  .widget_categories {
    background: #f8f7f7;
    padding: 30px 25px 0 25px;
    border-radius: 15px;
    position: relative;
    margin-top: 20px;
  }
  .widget_categories .widget-title {
    background: var(--color2);
    color: var(--color3);
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }

  .widget-title::after {
    content: "\e900";
    font-family: "icomoon";
    display: inline-block;
    transform: rotate(90deg);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  }

  .widget_categories > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 2rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    transform: translateY(-10px);
  }
  .widget_categories {
    background: none;
  }
  .widget_categories.active {
    background: #f8f7f7;
  }

  .widget-title.active::after {
    transform: rotate(180deg);
  }

  .widget_categories.active > ul {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
.widget_categories > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 2rem;
}
.widget_categories li {
    margin-bottom: 16px;
    display: block;
}

.websima-cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.websima-cat-row a,
.widget_categories li > a {
  text-decoration: none;
  color: #333;
  line-height: 30px;
  font-size: 16px;
}

.websima-cat-toggle-btn {
  cursor: pointer;
  padding: 7px;
  font-size: 12px;
  color: #a8a8a8;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  border: 1px solid #a8a8a8;
  border-radius: 25px;
}

.websima-cat-toggle-btn.active {
  color: var(--color2);
  border-color: var(--color2);
  transform: rotate(180deg);
}

.widget_categories .children li {
  margin-bottom: 5px;
  display: block;
}
.widget_categories .children li a {
    font-size: 14px;
    font-weight: normal;
    display: block;
    padding-right: 8px;
    color: #737170;
}
.widget_categories .children {
  list-style: none;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  margin-top: 10px;
  width: 100%;
  overflow: hidden;
  transform: translateY(-10px);
  transition: all 0.4s ease-in-out;
}

.widget_categories .children.show {
  opacity: 1;
  max-height: 1000px;
  visibility: visible;
  margin-top: 10px;
  transform: translateY(0);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.widget-title h4::before {
    content: "\e932";
    font-family: "icomoon";
    margin-left: 10px;
    font-size: 18px;
}
.widget-title h4 {
  font-size: 18px;
  margin: 0;
}

@media (min-width: 992px) {
  .websima-blog-hero-content {
    position: relative;
    z-index: 10;
    width: 50%;
    padding: 0 70px 0 0;
    text-align: right;
    color: #fff;
  }

  .websima-blog-hero-content h1 {
    font-size: 40px;
    color: var(--color3);
  }

  .websima-blog-hero-content p {
    font-size: 18px;
    color: var(--color3);
    line-height: 32px;
  }
}

@media (max-width: 768px) {
  .websima-blog-hero-content {
    text-align: center;
  }
}

.post-item {
    margin-bottom: 24px;
}
li.cat-item:hover i {
    color:var(--color2);
    border:1px solid var(--color2);
}
li.cat-item:hover > a {
    color: var(--color2);
}
li.cat-item:hover > .websima-cat-row > a {
    color: var(--color2);
}