.planesto-showcase {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--theme-primary-600) 16%, transparent);
  border-radius: 1.25rem;
  background: var(--theme-features-card-bg, #fff);
  box-shadow: 0 8px 24px rgba(31, 56, 85, 0.06);
}

.planesto-showcase-slide {
  box-sizing: border-box;
  min-width: 0;
  align-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.planesto-showcase.is-enhanced .planesto-showcase-slides {
  display: flex;
  width: 100%;
}

.planesto-showcase.is-enhanced .planesto-showcase-slide {
  flex: 0 0 100%;
}

.planesto-showcase-slide a:focus-visible {
  outline: 2px solid var(--theme-primary-600);
  outline-offset: -3px;
}

.planesto-landing-video:focus-visible {
  outline: 2px solid var(--theme-primary-600);
  outline-offset: 3px;
}

.planesto-landing-videos {
  padding: clamp(1.5rem, 4vw, 3.5rem) 0;
  color: var(--theme-features-title, var(--theme-blog-title));
}

.planesto-landing-videos-featured {
  padding-top: 0;
}

.planesto-landing-videos header {
  margin: 0 auto 1.75rem;
  text-align: center;
}

.planesto-landing-videos:not(.planesto-landing-videos-featured) header {
  max-width: 46rem;
}

.planesto-landing-videos:not(.planesto-landing-videos-featured) h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
}

.planesto-landing-videos:not(.planesto-landing-videos-featured) header p {
  color: var(--theme-blog-subtitle);
}

.planesto-landing-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.5rem);
}

.planesto-landing-video {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--theme-primary-600) 18%, transparent);
  border-radius: 1rem;
  background: var(--theme-features-card-bg);
  color: inherit;
}

.planesto-landing-video:hover {
  border-color: var(--theme-primary-600);
}

.planesto-landing-video-thumbnail {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 0.65rem;
}

.planesto-landing-video-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
}

.planesto-landing-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  padding-left: 0.15rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--theme-header-btn-primary-bg, var(--theme-primary-700));
  color: var(--theme-header-btn-primary-color, white);
  box-shadow: 0 0 0 2px var(--theme-features-card-bg);
}

.planesto-landing-video-title {
  padding-inline: 0.2rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.planesto-landing-video-link {
  margin-top: auto;
  padding-inline: 0.2rem;
  color: var(--theme-blog-subtitle);
  font-size: 0.875rem;
  font-weight: 700;
}

.planesto-landing-videos-featured .planesto-landing-video {
  max-width: 42rem;
  margin-inline: auto;
}

.planesto-landing-videos-featured .planesto-landing-video-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.planesto-landing-videos-featured .planesto-landing-video-play {
  position: static;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  transform: none;
}

.planesto-landing-video:hover .planesto-landing-video-link,
.planesto-landing-video:focus-visible .planesto-landing-video-link {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .planesto-landing-video-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
