/* Row Blogs Four Widget Styles */
.row-blogs-four-widget {
  width: 100%;
  direction: rtl;
}
.row-blogs-four-heading {
  margin-bottom: 1.2rem !important;
}
.row-blogs-four-grid {
  display: flex;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
}
.row-blogs-four-card {
  overflow: hidden;
  flex: 1 1 25%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
  margin: 0;
}

.row-blogs-four-image {
  width: 100%;
  aspect-ratio: 2/1;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.row-blogs-four-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.row-blogs-four-title {
  font-size: 16px;
  font-weight: 500;
  color: #23262F;
  margin: 1.2rem  0 !important;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  min-height: 3.2em;
}
@media (max-width: 1024px) {
  .row-blogs-four-grid {
    gap: 0.7rem;
  }
  .row-blogs-four-title {
    font-size: 1rem;
    margin: 1rem 0.7rem 1.2rem 0.7rem;
    min-height: 2.6em;
  }
}
@media (max-width: 900px) {
  .row-blogs-four-grid {
    flex-wrap: wrap;
  }
  .row-blogs-four-card {
    flex: 1 1 45%;
    max-width: 48%;
    margin-bottom: 1.2rem;
  }
}
@media (max-width: 600px) {
  .row-blogs-four-grid {
    flex-direction: column;
    gap: 0.7rem;
  }
  .row-blogs-four-card {
    max-width: 100%;
    margin-bottom: 0.7rem;
    border-bottom: 1.5px solid #E0E0E2;
    border-radius: 0;
    box-shadow: none;
    padding-bottom: 1.2rem;
    flex-direction: column;
    align-items: stretch;
    display: flex;
  }
  .row-blogs-four-card:last-child {
    border-bottom: none;
  }
  .row-blogs-four-card a {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap:20px;
    min-height: 90px;
  }
  .row-blogs-four-image {
    width: 50%;
    min-width: 0;
    height: 150px;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    display: flex;  
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .row-blogs-four-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .row-blogs-four-title {
    width: 50%;
    flex: 1 1 0;
    font-size: 18px;
    margin: 0 !important;
    min-height: 90px;
    display: flex;
    align-items: center;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
  }
}