/*--------------------------------------------------------------
# CW exhibitor plugin styles
--------------------------------------------------------------*/


.cw-block-exhibitors .exhibitor-meta {
  font-size: var(--text-sm);

}

.exhibitor-meta {
  margin-top: 0 !important;
  line-height: 1.3;
}


.cw-logos-with-borders .cw-logo-with-border {
  background-color: #fff;
}

.cw-exhibitor-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.cw-exhibitor-archive-grid .cw-exhibitor-card {
  position: relative;
  border: 1px solid #eee;
  border-radius: 12px;
  background-color: white;
  display: flex;
  flex-direction: column;
}

.cw-exhibitor-archive-grid .cw-exhibitor-type {
  position: absolute;
}

.cw-exhibitor-archive-grid .exhibitor-profile {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
  /* Limits text to 3 lines */
  max-height: 4.5em;
  /* Adjust this based on line height to fit exactly three lines */
  line-height: 1.5em;
  /* Adjust line-height as needed */
}

.cw-exhibitor-archive-grid .cw-exhibitor-image-container {
  padding: 1rem;
  aspect-ratio: 16/9;
  width: 100%;
  display: flex;
  overflow: hidden;
  background-color: #fff;
  border-radius: 12px;
}

.cw-exhibitor-archive-grid .cw-exhibitor-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cw-exhibitor-archive-grid .cw-exhibitor-meta {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.cw-exhibitor-archive-grid .cw-exhibitor-meta * {
  margin: 0;
}

.cw-exhibitor-archive-link {
  display: flex;
  align-items: center;
  gap: .5rem;
}
