.sidebar {
  position: sticky;
  top: 100px;
  background-color: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
}
.sidebar .section-title {
  margin-bottom: 0;
  padding-bottom: 0;
}
.sidebar .section-title .subtitle {
  font-size: 1.2rem;
  margin-bottom: 0;
}
.recommended-item {
  margin-bottom: 2rem;
}
.recommended-image {
  width: 100%;
  aspect-ratio: 9 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.recommended-text {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}
.navigation-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.page-numbers {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}
.page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
}
.page-number:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.page-number.active {
  background-color: var(--accent-color);
  color: #fff;
}
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
.btn-nav:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.btn-nav.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.page-ellipsis {
  cursor: pointer;
  font-weight: bold;
}
.page-ellipsis:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Features Tags Styling */
.features-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.feature-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  transition: all 0.3s ease;
}

.feature-tag:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------
   Speakeasy image slider: fixed 16:9 frame
   Keeps width: 100% while preventing layout shifts between slides.
   -------------------------------------------------------------- */
.portfolio-details .portfolio-details-slider {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
}

/* Ensure swiper uses the fixed-height frame */
.portfolio-details .portfolio-details-slider .swiper-wrapper,
.portfolio-details .portfolio-details-slider .swiper-slide {
  height: 100% !important;
}

/* Fill the 16:9 frame; crop as needed */
.portfolio-details .portfolio-details-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bring back pagination (bullets) by overlaying inside the frame */
.portfolio-details .portfolio-details-slider .swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  margin-top: 0;
  z-index: 5;
}

/* Overlay navigation arrows */
.portfolio-details .portfolio-details-slider .swiper-button-prev,
.portfolio-details .portfolio-details-slider .swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
}

.portfolio-details .portfolio-details-slider .swiper-button-prev {
  left: 12px;
}

.portfolio-details .portfolio-details-slider .swiper-button-next {
  right: 12px;
}

.portfolio-details .portfolio-details-slider .swiper-button-prev::after,
.portfolio-details .portfolio-details-slider .swiper-button-next::after {
  font-size: 18px;
  font-weight: 700;
}

.portfolio-details .portfolio-details-slider .swiper-button-prev:hover,
.portfolio-details .portfolio-details-slider .swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.35);
}

