/* Tell Freedom — Custom overrides for Tailwind */

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
}
.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-inner > * {
  min-width: 100%;
  flex-shrink: 0;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  border-radius: 2px;
}
.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}
.carousel-btn.prev {
  left: 0.5rem;
}
.carousel-btn.next {
  right: 0.5rem;
}

/* Corner logo */
.corner-logo {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 160px;
  max-width: 30vw;
  height: auto;
  opacity: 0.85;
  z-index: 40;
  transition: opacity 0.2s ease;
  pointer-events: auto;
}
.corner-logo:hover {
  opacity: 1;
}

/* Prevent content from hiding behind corner logo */
body {
  padding-bottom: 5rem;
}

/* Responsive: shrink corner logo on small screens */
@media (max-width: 640px) {
  .corner-logo {
    width: 100px;
    max-width: 25vw;
    bottom: 0.5rem;
    right: 0.5rem;
  }
}

/* Smooth link transitions */
a {
  transition: color 0.15s ease;
}
