/* Decolonisation and the Scopic Regime — Custom Styles */

/* Carousel */
.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-inner img {
  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;
  border-radius: 2px;
  line-height: 1;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-btn.prev {
  left: 0.5rem;
}

.carousel-btn.next {
  right: 0.5rem;
}

/* Vertical text navigation — exact replica of original */
.vertical-nav {
  writing-mode: vertical-lr;
  text-orientation: upright;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  line-height: 25px;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
}

.vertical-nav a {
  text-decoration: none;
  color: #000;
}

.vertical-nav a:hover {
  color: lightgray;
}

.vertical-nav a.active-link {
  color: maroon;
  font-weight: bold;
}

.vertical-divider {
  border-left: 2px solid #605E5E;
  height: 25px;
}

/* Right-side menu — matches original visual appearance */
.right-menu {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

.right-menu .menu-logo {
  width: 152px;
  display: block;
  margin: 0 auto 1.5rem auto;
}

.right-menu .menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.right-menu .menu-links a {
  display: block;
  color: #000;
  text-decoration: none;
  padding: 0.4rem 0;
}

.right-menu .menu-links a:hover {
  color: lightgray;
}

.right-menu .menu-links a.active-page {
  color: lightgray;
}

/* Publication shimmer animation */
.shimmer {
  background: linear-gradient(90deg, #000, #fff, #000);
  background-repeat: no-repeat;
  background-size: 80%;
  animation: shimmer 3s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0);
  background-clip: text;
}

@keyframes shimmer {
  0% { background-position: -500%; }
  100% { background-position: 500%; }
}

/* Vertical nav shimmer — slow sweep */
.vertical-shimmer {
  background: linear-gradient(90deg, #000, #fff, #000);
  background-repeat: no-repeat;
  background-size: 80%;
  animation: shimmer 12s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0);
  background-clip: text;
}
