:root {
  --jaleo--default--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.jaleo-section-blogs {
  display: grid;
  grid-template-columns: repeat(4, calc(25% - var(--wp--preset--spacing--30) * 3 / 4));
  grid-auto-rows: auto;
  gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .jaleo-section-blogs {
    grid-template-columns: repeat(2, calc(50% - var(--wp--preset--spacing--30) / 2));
  }
}
@media (max-width: 767px) {
  .jaleo-section-blogs {
    grid-template-columns: 1fr;
  }
}

.jaleo-post-card .jaleo--blog-container-main-list-item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0px 0px 8px rgba(51, 51, 51, 0.1);
}
.jaleo-post-card .jaleo--blog-container-main-list-item img {
  transition: all var(--jaleo--default--transition);
  filter: none;
}
.jaleo-post-card .jaleo--blog-container-main-list-item:hover img {
  filter: saturate(125%);
}
.jaleo-post-card .jaleo--blog-container-main-list-item:hover button {
  background-color: var(--wp--preset--color--red);
}
.jaleo-post-card .jaleo--aspect-box {
  aspect-ratio: 4/3;
  position: relative;
}
.jaleo-post-card .jaleo--aspect-box .jaleo--aspect-box-figure {
  position: static;
  margin-bottom: 0;
}
.jaleo-post-card .jaleo--aspect-box .jaleo--aspect-box-figure img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jaleo-post-card .jaleo--aspect-box .jaleo--aspect-box-figure .jaleo--aspect-box-figure-caption {
  display: none;
}
.jaleo-post-card .jaleo--card-body {
  position: static;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--wp--preset--spacing--30);
}
.jaleo-post-card .jaleo--card-title {
  font-size: var(--wp--preset--font-size--large);
  margin-top: 0;
  text-transform: uppercase;
}
.jaleo-post-card .jaleo--card-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 2px;
}
.jaleo-post-card .jaleo--card-title .jaleo--stretched-link {
  color: inherit;
  text-decoration: none;
}
.jaleo-post-card .jaleo--card-title .jaleo--stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  filter: blur(2px);
}
.jaleo-post-card .jaleo--card-title .jaleo--stretched-link:hover {
  text-decoration: none;
  border-bottom-width: 0;
}
.jaleo-post-card .jaleo--card-body-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.jaleo-post-card .jaleo--card-body-wrapper .jaleo--card-location {
  margin-bottom: var(--wp--preset--spacing--20);
  padding-bottom: var(--wp--preset--spacing--20);
  border-bottom: 1px solid var(--wp--preset--color--light);
  font-size: var(--wp--preset--font-size--small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.jaleo-post-card .jaleo--card-body-wrapper .jaleo--card-body-wrapper-description {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #555;
  margin: 0;
  flex: 1;
  margin-bottom: var(--wp--preset--spacing--20);
}
.jaleo-post-card .jaleo--card-body-wrapper button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-family: var(--wp--preset--font-family--heading);
  font-size: var(--wp--preset--font-size--medium);
  font-size: var(--wp--preset--font-size--ultrasmall);
  transition: var(--jaleo--default--transition);
  border-radius: 15px;
  padding-top: 0.5rem;
  padding-right: 1.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1.5rem;
  background: transparent;
  color: var(--wp--preset--color--red);
  border: 1px solid var(--wp--preset--color--red);
}
.jaleo-post-card .jaleo--card-body-wrapper button:hover {
  cursor: pointer;
  background-color: var(--wp--preset--color--red)!important;
  border-color: var(--wp--preset--color--red)!important;
  color: var(--wp--preset--color--base)!important;
}
.jaleo-post-card .jaleo--card-body-wrapper button {
  position: relative;
  align-self: start;
  margin-top: auto;
  margin-bottom: 0;
  padding: 0.25rem 1rem;
  font-size: var(--wp--preset--font-size--small);
  background-color: transparent!important;
  color: var(--wp--preset--color--red);
}
.jaleo-post-card .jaleo--card-body-wrapper button:hover {
  background-color: var(--wp--preset--color--red)!important;
  border-color: var(--wp--preset--color--red)!important;
  color: var(--wp--preset--color--base)!important;
}
@media (max-width: 1024px) {
  .jaleo-post-card .jaleo--aspect-box {
    aspect-ratio: 4/3 !important;
    height: auto !important;
  }
  .jaleo-post-card .jaleo--card-body {
    width: calc(100% - 2.5rem);
    padding: 1rem 1.25rem 1.25rem;
  }
  .jaleo-post-card .jaleo--card-body .jaleo--card-body-wrapper-description {
    display: none;
  }
  .jaleo-post-card .jaleo--card-title {
    font-weight: 400;
  }
  .jaleo-post-card .jaleo--card-body-wrapper-description {
    display: block;
  }
}
@media (max-width: 767px) {
  .jaleo-post-card .jaleo--aspect-box {
    aspect-ratio: 4/3;
  }
  .jaleo-post-card .jaleo--card-body {
    position: static;
    background: transparent;
    box-shadow: none;
  }
}

.jaleo-post-card:hover .jaleo--card-body-wrapper button{
    background-color: var(--wp--preset--color--red)!important;
    border-color: var(--wp--preset--color--red)!important;
    color: var(--wp--preset--color--base)!important;
}
