/* Vidyanik 1.4.54 — tightly scoped polish on the approved 1.4.53 homepage. */

/* Keep desktop hero exactly as approved; only reduce the mobile gap below the header. */
@media (max-width:720px){
  .vidyanik-home .vid-hero{
    padding-top:28px;
    padding-bottom:44px;
  }
}

@media (max-width:480px){
  .vidyanik-home .vid-hero{
    padding-top:26px;
  }
}

/* On desktop, align the Guides CTA to the same true right edge used by split headers. */
@media (min-width:721px){
  .vidyanik-home .vid-home-guides .vid-home-heading--split{
    display:flex;
    width:100%;
    max-width:none;
    align-items:flex-end;
    justify-content:space-between;
    gap:28px;
  }
  .vidyanik-home .vid-home-guides .vid-home-heading--split>div{
    min-width:0;
    flex:1 1 auto;
    max-width:760px;
  }
  .vidyanik-home .vid-home-guides .vid-home-heading--split>.vid-text-link{
    flex:0 0 auto;
    align-self:flex-end;
    justify-self:auto;
    margin:0 0 1px auto;
  }
}

/* Small readability lift only for the sample-preview action. */
.vidyanik-home .vid-resource-surface .vid-product-card--home .vid-product-card__preview{
  font-size:.9rem;
}

@media (max-width:720px){
  .vidyanik-home .vid-resource-surface .vid-product-card--home .vid-product-card__preview{
    font-size:.82rem;
  }
}
