.heol-split-posts {
  display: flex;
  gap: 16px;
  align-items: stretch;
  width: 100%;
}

.heol-split-posts .heol-card {
  position: relative;
  flex: 1 1 0;
  border-radius: 14px;
  overflow: hidden;
  transition: flex-grow 0.45s ease, transform 0.45s ease;
  background: #111;
  height: 400px;
}

@media (max-width: 900px) {
  .heol-split-posts .heol-card {
    height: 250px;
  }
}

.heol-split-posts .heol-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
  z-index: 1;
}

.heol-split-posts .heol-card.is-active {
  flex-grow: 3;
}

.heol-split-posts .heol-card-link,
.heol-split-posts .heol-card-link:visited {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.heol-split-posts .heol-image {
  width: 100%;
  height: 100%;
}

.heol-split-posts .heol-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.heol-split-posts .heol-card.is-active .heol-image-img {
  transform: scale(1.03);
}

.heol-split-posts .heol-title {
  position: absolute;
  left: 50%;
  bottom: 16px;
  text-align: center;
  width: calc(100% - 32px);
  margin: 0;
  font-family: "Inter", Sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2em;
  color: var(--e-global-color-1c423b5);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  z-index: 3;
}

.heol-split-posts .heol-action {
  position: absolute;
  top: 20px;
  right: 12px;
  width: 32px;
  height: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  z-index: 3;
}

.heol-split-posts .heol-action img {
  width: 100%;
  height: 100%;
  display: block;
}

.heol-split-posts .heol-card.is-active .heol-title,
.heol-split-posts .heol-card.is-active .heol-action {
  opacity: 1;
  transform: translateX(-50%);
}

@media (max-width: 900px) {
  .heol-split-posts {
    flex-direction: column;
  }

  .heol-split-posts .heol-card {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
  }

  .heol-split-posts .heol-title,
  .heol-split-posts .heol-action {
    opacity: 1;
  }

  .heol-split-posts .heol-title {
    transform: translateX(-50%);
  }
}
