.vertical-hero {}
.vertical {}

.vertical .home-vertical-cards {
  flex-wrap: wrap;
  gap: 18px;
  height: auto;
  overflow-x: visible;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: auto;
}

.vertical .home-vertical-cards>div {
  width: calc(33.333% - 12px);
  flex: 0 0 calc(33.333% - 12px);
  min-width: auto;
  height: 360px;
}

@media (max-width: 1024px) {
  .vertical .home-vertical-cards>div {
    width: calc(50% - 12px);
    flex: 0 0 calc(50% - 12px);
    height: 320px;
  }
}

@media (max-width: 768px) {
  .vertical .home-vertical-cards {
    gap: 12px;
    overflow-x: visible;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
  }
  .vertical .home-vertical-cards>div {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
    height: 300px;
  }
}
.vertical .vertical-grid { margin-top: 10px; }
.vertical-card { position: relative; height: 320px; background-position: center; background-size: cover; background-repeat: no-repeat; margin-bottom: 18px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px;}
.vertical-card::after { content: ''; display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.5; background-image: linear-gradient(180deg, rgba(238, 238, 238, 0.00) 0%, #000000 100%); transition: opacity .3s ease, background-color .3s ease, background-image .3s ease; }
.vertical-card h3 { color: #fff; font-size: 28px; padding: 0 24px; margin-bottom: 18px; text-align: center; position: relative; z-index: 2; opacity: 1; transform: translateY(6px); transition: transform .4s ease; }
.vertical-card p { color: #fff; font-size: 16px; padding: 0 24px; text-align: center; position: relative; z-index: 2; opacity: 0; transform: translateY(14px); max-height: 0; overflow: hidden; pointer-events: none; transition: opacity .4s ease, transform .4s ease, max-height .4s ease; }
.vertical-card:hover h3 { transform: translateY(0); }
.vertical-card:hover p { opacity: 1; transform: translateY(0); max-height: 200px; }
.vertical-card:hover::after { opacity: 0.65; background-image: none; background-color: rgba(0, 0, 0, 0.45); }
.vertical-card-cta { display: inline-block; line-height: 40px; padding: 0 20px; position: absolute; left: 24px; bottom: 24px; z-index: 2; color: #000; padding-right: 60px; background: url("../img/arrow-right-light.png") no-repeat 100px center #fff; background-size: 24px auto; border-radius: 4px; }

@media (max-width: 992px) { .vertical-card { height: 300px; } .vertical-card h3 { font-size: 24px; padding: 20px; } .vertical-card p { font-size: 15px; padding: 0 20px 20px; } .vertical-card-cta { left: 20px; bottom: 20px; } }
@media (max-width: 768px) { .vertical-card { height: 280px; } .vertical-card h3 { font-size: 22px; padding: 18px; } .vertical-card p { font-size: 14px; padding: 0 18px 18px; } .vertical-card-cta { left: 18px; bottom: 18px; } }
