/* BERBIN V6: Hero mobile overflow and bottom caption collision fix */
.v4-feature {box-sizing:border-box}
.v4-feature-content {box-sizing:border-box}
.v4-feature-links {position:relative;z-index:2}
.v4-side-label {pointer-events:none;z-index:1;max-width:42%;text-align:end}
@media (min-width:701px) {
  .v4-feature-content {padding-bottom:48px}
  .v4-side-label {bottom:20px;right:28px}
}
@media (max-width:700px) {
  .v4-feature {
    height:auto!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-end!important;
    overflow:hidden!important;
    padding:clamp(50px,11vw,82px) 22px 26px!important;
    border-radius:24px!important;
  }
  .v4-feature-content,
  html[dir=rtl] .v4-feature-content {
    position:relative!important;
    left:auto!important;right:auto!important;top:auto!important;
    transform:none!important;
    width:100%!important;
    min-width:0!important;
    padding:0!important;
    margin:0!important;
  }
  .v4-feature h1,
  html[dir=rtl] .v4-feature h1 {
    font-size:clamp(31px,8vw,54px)!important;
    line-height:1.36!important;
    margin:22px 0 18px!important;
    overflow-wrap:break-word;
  }
  .v4-feature p,
  html[dir=rtl] .v4-feature p {
    font-size:clamp(15px,3.6vw,18px)!important;
    line-height:1.85!important;
    margin:0!important;
  }
  .v4-feature-links {
    display:flex!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
    gap:12px!important;
    margin-top:25px!important;
  }
  .v4-feature-links a {position:relative!important;flex:0 1 auto;max-width:100%;text-align:center}
  .v4-light-button {padding:14px 18px!important}
  .v4-link-soft {padding:13px 5px!important}
  .v4-side-label {display:none!important}
  .v4-feature-art img {object-position:center!important}
}
@media (max-width:390px) {
  .v4-feature {padding:42px 18px 24px!important}
  .v4-feature-links {flex-direction:column!important;align-items:stretch!important}
  .v4-feature-links a {width:100%!important;box-sizing:border-box}
}
@media (prefers-reduced-motion:reduce) {.v4-feature-art img {animation:none!important;transform:none!important}}
