﻿/**
 * Exhibitor Card - WPBakery Element Styles
 */

.the7child-exhibitor-card-wrapper {
  margin: 20px 0;
  clear: both;
}

.the7child-exhibitor-card-wrapper.align-left {
  text-align: left;
}

.the7child-exhibitor-card-wrapper.align-center {
  text-align: center;
}

.the7child-exhibitor-card-wrapper.align-right {
  text-align: right;
}

.the7child-exhibitor-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 424px);
}

.the7child-exhibitor-card__link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.the7child-exhibitor-card.has-link .the7child-exhibitor-card__link:hover,
.the7child-exhibitor-card.has-link .the7child-exhibitor-card__link:focus-visible {
  transform: translateY(-4px);
}

.the7child-exhibitor-card__link:focus-visible {
  outline: none;
}

.the7child-exhibitor-card__image-shell,
.the7child-exhibitor-card__placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.the7child-exhibitor-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.the7child-exhibitor-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: #666666;
  background: #f8f8f8;
  border-style: dashed;
}

.the7child-exhibitor-card__caption {
  margin-top: 18px;
  color: #111111;
  font-size: 18px;
  line-height: 1.45;
  text-align: center;
  white-space: pre-line;
}

@media (max-width: 767px) {
  .the7child-exhibitor-card {
    width: min(100%, 360px);
  }

  .the7child-exhibitor-card__caption {
    font-size: 16px;
  }
}
