@charset "UTF-8";
/* ================================================================
   articles-related.scss — related-articles carousel (/articles/*)

   Standalone on purpose: articles are a different collection from
   training sessions, so this does NOT reuse _single.scss's
   .oll-related-carousel or the shared .oll-card partial. Compile with:
     npx sass assets/css/articles-related.scss assets/css/articles-related.css

   The CONTROLS are the site-wide set from DESIGN-SYSTEM.md ("Slider
   controls"): 40px hairline-bordered arrows with a CSS-drawn chevron, and
   diamond pagination bullets — the same anatomy as .ev-slider-nav /
   .ev-slider-dots on the program pages and the homepage galleries, so every
   carousel on the site reads as one component. Only the colours differ:
   those sections are dark, this page is light.

   Pagination PLACEMENT still mirrors .oll-related-carousel (inline in the
   header on desktop, below the track on mobile). The card is simpler:
   image + title, no level dots, no author line — articles have neither.
   ================================================================ */
.oll-articles-related {
  max-width: var(--maxPageWidth);
  margin: 60px auto 0;
  padding: 40px 32px 60px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
@media (max-width: 767px) {
  .oll-articles-related {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.oll-articles-related {
  --swiper-theme-color: #000;
  --swiper-pagination-color: #000;
  --oll-ar-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-family: var(--oll-ar-font);
}
.oll-articles-related__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}
@media (max-width: 1023px) {
  .oll-articles-related__header {
    justify-content: flex-start;
  }
}
.oll-articles-related__title {
  margin: 0;
  line-height: 1;
  font-family: var(--oll-ar-font);
  font-weight: 700;
  text-transform: none;
}
@media (max-width: 1023px) {
  .oll-articles-related__title {
    padding-top: 8px;
    padding-bottom: 16px;
  }
}
.oll-articles-related .swiper-slide {
  overflow: hidden;
  height: auto;
}
.oll-articles-related__card {
  display: block;
  text-decoration: none;
  color: inherit;
  font-family: var(--oll-ar-font);
  opacity: 1;
  transition: opacity 0.4s ease;
}
.oll-articles-related__card.is-hidden {
  opacity: 0;
}
.oll-articles-related__card:hover .oll-articles-related__image img {
  transform: scale(1.04);
}
.oll-articles-related__image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: rgba(0, 0, 0, 0.06);
}
.oll-articles-related__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.oll-articles-related__title-text {
  margin: 12px 0 0;
  font-family: var(--oll-ar-font);
  font-weight: 700;
  text-transform: none;
  font-size: 1.125rem;
  line-height: 1.05;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .oll-articles-related__title-text {
    font-size: 1.625rem;
  }
}
.oll-articles-related__pagination-mobile {
  display: none;
  margin-top: 20px;
  align-items: center;
  justify-content: flex-start;
  position: static !important;
  width: auto;
  gap: 7px;
}
@media (max-width: 1023px) {
  .oll-articles-related__pagination-mobile {
    display: flex;
  }
}
.oll-articles-related__nav {
  display: flex;
  gap: 12px;
  align-items: center;
}
@media (max-width: 1023px) {
  .oll-articles-related__nav {
    display: none;
  }
}
.oll-articles-related__nav .oll-articles-related__pagination {
  position: static !important;
  width: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}
.oll-articles-related__prev, .oll-articles-related__next {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  color: #000;
  cursor: pointer;
  font-family: var(--oll-ar-font);
  transition: border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}
.oll-articles-related__prev svg, .oll-articles-related__next svg {
  display: none;
}
.oll-articles-related__prev::before, .oll-articles-related__next::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
.oll-articles-related__prev:hover:not(.swiper-button-disabled), .oll-articles-related__next:hover:not(.swiper-button-disabled) {
  border-color: #000;
}
.oll-articles-related__prev.swiper-button-disabled, .oll-articles-related__next.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: default;
}
.oll-articles-related__prev::before {
  transform: translateX(2px) rotate(-135deg);
}
.oll-articles-related__next::before {
  transform: translateX(-2px) rotate(45deg);
}
@media (prefers-reduced-motion: reduce) {
  .oll-articles-related__prev, .oll-articles-related__next {
    transition: none;
  }
}
.oll-articles-related .swiper-pagination-bullet {
  width: 6px !important;
  height: 6px;
  margin: 0 !important;
  background: #7c7c7c;
  border: 0;
  border-radius: 0;
  transform: rotate(45deg);
  opacity: 1;
  transition: background-color 0.25s ease;
}
.oll-articles-related .swiper-pagination-bullet-active {
  background: #000;
}
