/* ======= Spotlight Module ======= */

.mod-spotlight {
  padding: 0;
  position: relative;
  .module-heading {
    margin-bottom: 50px;
    @media (width >= 768px) {
      margin-bottom: 90px;
    }
  }
  .dot-container {
    font-weight: 22px;
    text-transform: uppercase;
    background-color: var(--light-alt);
    cursor: pointer;
    position: relative;
    z-index: 10;
    @media (width >= 768px) {
      padding: 15px;
      color: rgb(from var(--light-color) r g b / 0.5);
    }
    @media (width >= 1024px) {
      font-size: 28px;
    }
    .owl-dot-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      @media (width >= 768px) {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
      }
    }
    .owl-dots {
      margin-top: 0;
    }
    .owl-dot {
      padding: 10px;
      /* background-color: var(--primary-alt); */
      color: var(--text-color);
      border-top: 1px solid var(--light-color);
      text-align: center;
      width: auto;
      height: auto;
      border-radius: 0;
      border: none;
      position: relative;
      &::after {
        content: '';
        width: 16px;
        height: 0;
        position: relative;
        cursor: pointer;
        position: absolute;
        right: -20px;
        top: 50%;
        border-left: 8px solid var(--text-color);
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        transform: rotate(0deg) translateY(-50%);
        transition: transform .3s;
        transform-origin: top left;
        @media (width >= 768px) {
          right: -30px;
        }
      }
      &::before {
        content: '';
        position: absolute;
        width: 100vw;
        height: 2px;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        background-color: var(--light-color);
        @media (width >= 768px) {
          display: none;
        }
      }
      @media (width >= 768px) {
        padding: 0;
        border-top: none;
      }
    }
    .active {
      color: var(--primary-accent);
      background-color: transparent;
      &:after {
        transform: rotate(90deg) translateY(-50%);
        border-left: 8px solid var(--primary-accent);
      }
    }
  }

  .spotlight-procedure {
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: var(--text-color);
    /* padding-top: 105vw; */
    
    
    @media (width >= 768px) {
      background-size: 100%;
      /* padding-top: 50vw; */
    }
    @media (width >= 1024px) {
      /* padding: 80px 100px;
      padding: 0;
      min-height: 850px; */
      background-size: cover;
      background-position: center;
    }
  }
  .procedure-wrap {
    padding-top: 56vw;
    display: flex;
    align-items: flex-end;
    /* min-height: 500px; */
   
    @media (width >= 1024px) {
      padding: 80px 100px;
      min-height: 850px;
    }
  }
  .procedure-wrap {
    /* padding: 40px 20px 0; */
    @media (width >= 1024px) {
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 20%, rgba(0, 0, 0, 0.80) 100%);
    }
    .subhdng {
      font-size: 22px;
      text-transform: uppercase;
      color: var(--primary-alt);
      margin-bottom: 16px;
    }
  }
  .procedure-content {
    color: var(--light-color);
    padding: 20px 20px 40px;
    @media (width >= 768px) {
      padding: 20px 40px 40px;
    }
    @media (width >= 1024px) {
      display: grid;
      grid-template-columns: 1fr auto;
      column-gap: 100px;
      align-items: flex-end;
    }
    h3 {
      margin-top: 20px;
      margin-bottom: 0;
      color: var(--light-color);
      text-align: left;
    }
    a:not(.button) {
      color: var(--light-color);
      text-decoration: underline;
      &:hover {
        color: var(--primary-color);
        text-decoration: none;
      }
    }
  }
  .proc-category {
    position: absolute;
    left: 3px;
    top: 100vw;
    transform: rotate(90deg) translateY(98%) translateX(-57%);
    transform-origin: center;
    font-size: 100px;
    text-transform: uppercase;
    font-family: var(--secondary-font);
    color: var(--light-color);
    @media (width >= 768px) {
      font-size: 120px;
      top: 50vw;
      transform: rotate(90deg) translateY(98%) translateX(-59%);
    }
    @media (width >= 1024px) {
      font-size: 150px;
      left: auto;
      top: auto;
      right: -17px;
      bottom: -12px;
      transform-origin: right bottom;
      transform: rotate(90deg) translateY(100%) translateX(0);
    }
  }
  .owl-nav {
    display: flex;
    padding: 20px 20px 40px;
    @media (width >= 1024px) {
      position: absolute;
      left: 100px;
      bottom: 50px;
    }
    .carousel-arrow {
      background-color: var(--primary-alt);
      margin-right: 8px;
      @media (width >= 1024px) {
        background-color: var(--light-color);
      }
      svg {
        path {
          @media (width >= 1024px) {
            fill: var(--primary-alt);
          }
        }
      }
    }
  }
  .bnacase-imgset {
    display: flex;
    max-width: 372px;
    }
  .spotlight-links {
    display: flex;
    column-gap: 20px;
    list-style: none;
    margin: 30px 0 0;
    @media (width >= 1024px) {
      margin-top: 0;
    }
  }
}