.channels-nav {
  position: fixed;
  width: 100%;
  top: 110px;
  z-index: 9;
  background-color: #ffffff;

  .channel-list {
    margin-inline: auto;
    padding-block: 0.3rem;
    padding-top: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.825rem;

    .channel {
      cursor: pointer;

      .channel-profile {
        max-width: 70px;
        margin-inline: auto;
        width: auto;
        aspect-ratio: 1;
        overflow: hidden;
        padding: 0.125rem;
        border: 2px solid black;
        border-radius: 50%;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        -o-border-radius: 50%;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 50%;
          -webkit-border-radius: 50%;
          -moz-border-radius: 50%;
          -ms-border-radius: 50%;
          -o-border-radius: 50%;
        }

        &:hover {
          transition-duration: 0.3s;
          border: 2px solid var(--brand-color);
        }
      }

      .channel-name {
        font-family: "SunnySpells", sans-serif;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 18px;
        text-align: center;

        span {
          display: inline-block;
        }
      }

      &.active {
        .channel-profile {
          transition-duration: 0.3s;
          border: 2px solid var(--brand-color);
        }
      }
    }
  }
}

.hero-sec {

  #pillar-1,
  #pillar-2,
  #pillar-3 {
    scroll-margin-top: 180px !important;
  }
}

.channels-nav {
  &.stickyy {
    transition-duration: 0.3s;
    position: fixed !important;
    top: 60px !important;

    .channel-profile {
      transition-duration: 0.3s;
      max-width: 40px !important;
    }
  }
}

.cnn {
  position: relative;
  height: 100dvh;
  max-height: 575px;
  background-image: url(../images/mexican-dishes-pepper.jpg);
  background-position: left;
  background-repeat: no-repeat;
  background-color: black;
  background-size: cover;

  .description {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    padding: 1rem;
    max-width: 350px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    background-color: white;

    span {
      font-family: cursive, sans-serif;
      letter-spacing: 3px;
      font-weight: 600;
    }

    .title__inner {
      /* font-family: superboys; */
      letter-spacing: 2px;
    }
  }
}

#pillars {
  background-color: rgb(255, 255, 255);
  animation: fade-in linear;
  animation-timeline: view(125vh 0px);

  .image-text-grid__entry {
    /* max-width: 300px; */
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;

    .image-text-grid__entry-image {
      margin-bottom: 2rem;
      border-radius: 50%;
      overflow: hidden;
      width: 300px;
      height: 300px;
    }
    .image-text-grid__entry-image img{
      max-width: 100%;
      object-fit: cover;
    }

    .image-text-grid__entry-heading:not(:last-child) {
      margin-bottom: 1.6rem;
    }

    .image-text-grid__entry-caption {
      margin: 0;
      font-size: 18px;
      color: var(--text-black);

      font-weight: 600;
    }
  }

  .pillar-heading {
    font-family: "SunnySpells", sans-serif;
    color: var(--brand-color);
    margin-block: 1.5rem;
  }
}

.image-text-grid__entry-image1{
  max-width: 430px;
  border-radius: 50%;
  overflow: hidden;
  /* height: 300px;  */
}
.image-text-grid__entry-image1 img{
  max-width: 100%;
  object-fit: cover;

}
.pillars-content {
  .faq-section__accordion-wrapper:not(:last-child) {
    margin-bottom: 1rem;
    border-bottom: solid 1.5px rgba(14, 25, 34, .1);
  }

  .faq-section__titles li:not(:last-child) {
    border-bottom: solid 1.5px rgba(73, 49, 39, 0.108);
  }

  .faq-section__accordion-wrapper {
    scroll-margin-top: 100px;
    padding: 1.9375rem 1.4375rem;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* border: solid 1.5px rgba(14, 25, 34, 0.12); */
  }

  .faq-section__accordion-heading {
    font-family: 'SunnySpells', sans-serif;
    margin: 0;
    padding-bottom: 1.5rem;
    width: 100%;
    text-transform: uppercase;
    border-bottom: solid 1.5px currentColor;

    span {
      background-color: var(--brand-color-300);
      height: 100%;
      display: inline-block;
      padding: 0.6rem 0.8rem;
    }
  }

  .accordion-item {
    position: relative;
    -moz-transition: all .3s cubic-bezier(.5, 0, 0, 1);
    -o-transition: all .3s cubic-bezier(.5, 0, 0, 1);
    -webkit-transition: all .3s cubic-bezier(.5, 0, 0, 1);
    transition: all .3s cubic-bezier(.5, 0, 0, 1);
  }

  .faq-section__accordion .accordion-item:not(:last-child) {
    border-bottom: solid 1.5px rgba(17, 28, 36, 0.12);
  }

  .faq-section__accordion .accordion-header button {
    font-family: 'SunnySpells', sans-serif;
    font-size: 1.25rem;
    line-height: 1em;
    letter-spacing: .05rem;
    font-weight: 400;
    padding: 1.3125rem 0;
  }

  .faq-section__accordion .accordion-button {
    position: relative;
  }

  .faq-section__accordion .accordion-button:focus {
    z-index: 3;
    border-color: none;
    outline: 0;
    box-shadow: none;
  }

  .faq-section__accordion .accordion-button:not(.collapsed) {
    color: inherit;
    background-color: transparent;
    box-shadow: none;
  }

  .faq-section__accordion .accordion-collapse {
    font-size: 1rem;
    line-height: 1.22em;
    line-height: 1.375em;
    font-weight: 400;
    padding: 0 2.25rem 1rem 0;
  }

  .faq-section__accordion .accordion-button span {
    position: relative;
    flex-shrink: 0;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    -ms-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -moz-transition: all .3s cubic-bezier(.5, 0, 0, 1);
    -o-transition: all .3s cubic-bezier(.5, 0, 0, 1);
    -webkit-transition: all .3s cubic-bezier(.5, 0, 0, 1);
    transition: all .3s cubic-bezier(.5, 0, 0, 1);
    background-color: var(--brand-color-300);
    color: #000000;
    width: 2.375rem;
    height: 2.375rem;
    margin-left: 1.25rem;
    margin-left: auto;
  }

  .faq-section__accordion .accordion-button span:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: currentColor;
    width: .9375rem;
    height: .125rem;
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

  .faq-section__accordion .accordion-button span:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: currentColor;
    width: .9375rem;
    height: .125rem;
    -moz-transform: translate(-50%, -50%) rotate(90deg);
    -o-transform: translate(-50%, -50%) rotate(90deg);
    -ms-transform: translate(-50%, -50%) rotate(90deg);
    -webkit-transform: translate(-50%, -50%) rotate(90deg);
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .faq-section__accordion .accordion-button::after {
    display: none;
  }

  .faq-section__accordion .accordion-button span {
    transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
  }

  .faq-section__accordion .accordion-button.collapsed span {
    transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }

  .accordion-item:not(:last-child) {
    border-bottom: solid 1.5px rgba(17, 28, 36, 0.12);
  }
}

@media (max-width: 1024px) {
  .channels-nav {
    top: 90px !important;
  }
}

@media (max-width: 576px) {
  #pillars {
    animation-timeline: view(250vh 0px);
  }

  .channels-nav {
    & .channel-list {
      & .channel {
        & .channel-name {
          span {
            line-height: 1;
            margin-top: 6px;
          }
        }
      }
    }
  }

  .cnn {
    .description {
      bottom: 1rem;
      left: 1rem;
    }
  }
}
