/* Websifier blog / insight cards — equal height, consistent media */
.ws-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(8, 14, 28, 0.06);
  border: 1px solid rgba(8, 14, 28, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ws-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(8, 14, 28, 0.1);
}

.ws-blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f4f8;
}

.ws-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ws-blog-card:hover .ws-blog-card__media img {
  transform: scale(1.05);
}

.ws-blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
  gap: 10px;
}

.ws-blog-card__meta {
  font-size: 13px;
  color: #6b7280;
}

.ws-blog-card__meta i {
  margin-right: 6px;
  color: var(--theme-color, #684DF4);
}

.ws-blog-card__title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.ws-blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.ws-blog-card__title a:hover {
  color: var(--theme-color, #684DF4);
}

.ws-blog-card__excerpt {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.ws-blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(8, 14, 28, 0.08);
}

.ws-blog-card__author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #374151;
}

.ws-blog-card__author img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  background: #f3f4f8;
}

.ws-blog-card__more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--theme-color, #684DF4);
  text-decoration: none;
  white-space: nowrap;
}

.ws-blog-card__more i {
  margin-left: 6px;
  font-size: 0.75rem;
}

.ws-blog-card__more:hover {
  color: #4b35c7;
}

/* Swiper slides stretch to equal card heights */
#insightsSlider .swiper-slide,
#blogSlider1 .swiper-slide,
#blogSlider2 .swiper-slide {
  height: auto;
  display: flex;
}

#insightsSlider .ws-blog-card,
#blogSlider1 .ws-blog-card,
#blogSlider2 .ws-blog-card {
  width: 100%;
}

.ws-insights-wrap .slider-area {
  padding-bottom: 8px;
}

/* —— Home hero heading —— */
.hero-4 .hero-style4 {
  max-width: 560px;
}

.hero-4 .hero-subtitle {
  font-size: 15px;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-4 .hero-title {
  font-size: clamp(2.35rem, 4.2vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 12.5ch;
}

.hero-4 .hero-text {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 36rem;
  margin-bottom: 32px;
  color: #4b5565;
}

.hero-4 .btn-group {
  gap: 12px;
  flex-wrap: wrap;
}

.hero-4 .th-btn.style-border {
  background: transparent !important;
  color: var(--theme-color, #684DF4) !important;
  border: 2px solid var(--theme-color, #684DF4);
  box-shadow: none;
}

.hero-4 .th-btn.style-border:hover {
  background: var(--theme-color, #684DF4) !important;
  color: #fff !important;
}

@media (max-width: 991px) {
  .hero-4 .hero-title {
    max-width: none;
  }
}
