.otslr-hover-card {
  overflow: hidden;
}

.otslr-hover-card__inner {
  position: relative;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Default State */
.otslr-hover-card__default {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.otslr-hover-card__default-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.otslr-hover-card__inner:hover .otslr-hover-card__default-overlay {
  opacity: 0;
}

.otslr-hover-card__default-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  text-align: center;
  width: 100%;
}

/* Hover State */
.otslr-hover-card__hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.otslr-hover-card__inner:hover .otslr-hover-card__hover {
  opacity: 1;
}

.otslr-hover-card__inner:hover .otslr-hover-card__default {
  opacity: 0;
  z-index: 5;
}

.otslr-hover-card__hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(128, 128, 128, 0.7);
  z-index: 1;
}

.otslr-hover-card__hover-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Typography */
.otslr-hover-card__heading {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.otslr-hover-card__description {
  margin: 12px 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

.otslr-hover-card__button {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

.otslr-hover-card__button:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}
