.omni-post-carousel { position: relative; }
.omni-post-carousel .carousel-inner { padding: 0 40px; }
.omni-post-carousel__card { display: flex;
  flex-direction: column; height: 100%; padding: 30px;
  border: 1px solid gray; }
.omni-post-carousel__card p:last-child {
	margin-bottom: 0;
}
.omni-post-carousel__image { display: block; margin-bottom: 15px; aspect-ratio: 16/9; position: relative; }
.omni-post-carousel__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.omni-post-carousel__title { 
	a {
		text-decoration: none;
	}
}

.omni-post-carousel__excerpt + * {
	margin-top: auto;
}

/* Keep navigation at 30x30 regardless of the Bootstrap 4/5 carousel defaults. */
.omni-post-carousel .omni-post-carousel__control {
  width: 30px;
  height: 30px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-second, gray);
  border-radius: 50%;
  background-color: white;
  color: var(--color-prime, #0066CC);
  opacity: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.omni-post-carousel .omni-post-carousel__control:hover,
.omni-post-carousel .omni-post-carousel__control:focus-visible {
  background-color: var(--color-prime, #0066CC);
  color: white;
  opacity: 1;
}
.omni-post-carousel__control-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.omni-post-carousel__control-icon svg {
  display: block;
  height: 15px;
  width: 8px;
  fill: currentColor;
}
/* Consistent Bootstrap 4/5 visually hidden utility, scoped to this plugin. */
.omni-post-carousel .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
  color: black;
  background-color: white;
}
.omni-carousel-mobile { display: block; }
.omni-carousel-desktop { display: none; }
@media (min-width: 992px) {
  .omni-carousel-mobile { display: none; }
  .omni-carousel-desktop { display: block; }
}
