.ism-grid {
    padding: 25px 0;
}

.ism-grid-item {
    margin-bottom: 40px;
    border: 1px solid #f1f1f1;
    padding: 20px;
    font-family: "Red Hat Display", Arial, Helvetica, sans-serif;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
    width: calc(33.33% - 20px);
    float: left;
    box-sizing: border-box;
    background: white;
}

.home .ism-grid-item {
    height: 650px;
}

.ism-grid-item:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.ism-post-thumbnail {
    margin-left: -20px;
    margin-right: -20px;
    margin-top: -20px;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
}

.ism-post-title {
  font-weight: 500;
    color: #02234f;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.5em;
  display: flex;
  align-items: flex-start;
  width: 100%;
  text-align: left;
}

.ism-post-title::after {
    content: unset;
}

.ism-post-thumbnail.hasImage {
    height: 300px;
}

.ism-post-excerpt {
  text-align: left;
    font-size: 14.5px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.ism-grid-item p {
    margin-bottom: 10px;
    color: #181818;
}

.ism-grid-item .ism-post-date {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left;
}

.ism-grid-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.ism-read-more {
    margin-top: 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #0a0a0a !important;
  font-weight: 500;
  font-size: 14px;
}

.ism-read-more svg {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.ism-read-more:hover svg {
  transform: translateX(3px);
}

@media (max-width: 1199px) {
    .ism-grid-item {
        width: 100%;
    }
}

/* Loading spinner */
.ism-loading-spinner {
  animation: rotate 2s linear infinite;
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -25px;
  width: 75px;
  height: 75px;
  opacity: 0;
}

.ism-loading-spinner .path {
  stroke: #011224;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
  stroke-width: 2;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}