@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  #ig-carousel {
    display: none !important;
  }
}
    [data-section-id="ig-carousel"] {
      ig-section-vertical-margin: 0px;
      ig-section-vertical-padding: 0;
      /*ig-container-max-width: 1480px;*/
      ig-external-gutter: 0px;
      ig-header-margin-bottom: 0px;
      ig-header-text-alignment: center;
      ig-grid-gutter: 0px;
      ig-footer-margin-top: 0px;
    }

    @media screen and (min-width: 768px) {
      [data-section-id="ig-carousel"] {
        ig-section-vertical-margin: 00px;
        ig-external-gutter: 0px;
      }
    }

    /* Section and container */
    [data-section-id="ig-carousel"] {
      display: block;
      margin: var(ig-section-vertical-margin) 0;
      padding: var(ig-section-vertical-padding) 0;
    }

    [data-section-id="ig-carousel"] * {
      box-sizing: border-box; /* Some theme do not use this by default */
    }[data-section-id="ig-carousel"] .ig-container {
        max-width: var(ig-container-max-width); /*NOTE: on app block the exact space is brought by the theme itself */
        /*padding: 0 var(ig-external-gutter);*/
        margin-left: auto;
        margin-right: auto;
      }/* Header */
    [data-section-id="ig-carousel"] .ig-header {
      margin-bottom: var(ig-header-margin-bottom);
      padding: 0;
      text-align: var(ig-header-text-alignment);
    }

    [data-section-id="ig-carousel"] .ig-header__title {
      color: #000000;
    }

    [data-section-id="ig-carousel"] .ig-header__subheading {
      color: #000000;
    }

    [data-section-id="ig-carousel"] .ig-header__subheading a {
      text-decoration: underline;
      text-underline-position: under;
    }

    [data-section-id="ig-carousel"] .ig-feed {
      clear: both; /* We do this because some themes float the header and footer */
    }

    /* Feed (on mobile, we always show as scrollable list) */
    [data-section-id="ig-carousel"] .ig-feed__list {
      padding: var(ig-grid-gutter) 0;
      white-space: nowrap;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x mandatory;}

    [data-section-id="ig-carousel"] .ig-feed__list::-webkit-scrollbar {
      display: none;
    }

    [data-section-id="ig-carousel"] .ig-media {
      position: relative;
      display: inline-block;
      overflow: hidden;
      width: 75%;
      vertical-align: top;
      white-space: normal;
      scroll-snap-align: center;}

    [data-section-id="ig-carousel"] .ig-media:first-child {
      margin-left: 0;
    }

    [data-section-id="ig-carousel"] .ig-media:last-child {
      margin-right: 0;
    }

    [data-section-id="ig-carousel"] .ig-media::before {
      content: '';
      display: block;
      padding-bottom: 100%; /* Force the image to be squared */
    }

    [data-section-id="ig-carousel"] .ig-media__image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    @media screen and (min-width: 450px) {
      [data-section-id="ig-carousel"] .ig-media {
        width: 20%;
      }
    }

    @media screen and (min-width: 600px) {
      [data-section-id="ig-carousel"] .ig-media {
        width: 30%;
      }
    }

    @media screen and (min-width: 750px) {
      [data-section-id="ig-carousel"] .ig-media {
        width: 40%;
      }
    }

    @media screen and (min-width: 900px) {
      [data-section-id="ig-carousel"] .ig-media {
        width: 32%;
      }
    }@media screen and (max-width: 999px) {
        [data-section-id="ig-carousel"] .ig-media:nth-child(15) {
          margin-right: 0;
        }

        [data-section-id="ig-carousel"] .ig-media:nth-child(15) ~ .ig-media {
          display: none;
        }
      }@media screen and (min-width: 1000px) {
      [data-section-id="ig-carousel"] .ig-feed__list {
        margin: 0;
        padding: var(ig-grid-gutter) 0;}

      [data-section-id="ig-carousel"] .ig-media {
        display: block;
        width: auto;
        margin: 0;
      }@keyframes ig-sliding-carousel {
          0% {
            transform: translateX(0);
          }
          100% {transform: translateX(calc(-1 * (16% * 15)));}
        }

        [data-section-id="ig-carousel"] .ig-feed {
          overflow: hidden;
        }

        [data-section-id="ig-carousel"] .ig-feed__list {
          display: flex;
          flex-wrap: nowrap;
          padding: var(ig-grid-gutter) 0;
          animation: ig-sliding-carousel 34s linear infinite;
          overflow: visible;
        }

        [data-section-id="ig-carousel"] .ig-feed__list:hover {
          animation-play-state: paused;
        }

        [data-section-id="ig-carousel"] .ig-media {
          width: 16%;
          min-width: 16%;}}

    /* Overlay */

    [data-section-id="ig-carousel"] .ig-media__overlay {position: absolute;
      display: flex;
      flex-direction: column;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      padding: 14px 20px;
      font-size: 0.9em;
      background: rgba(0, 0, 0, 0.65);
      color: #000000;
      opacity: 0;
      transition: opacity 0.2s ease-in-out;
    }

    @media (hover: hover) {
      [data-section-id="ig-carousel"] .ig-media:focus .ig-media__overlay,
      [data-section-id="ig-carousel"] .ig-media:hover .ig-media__overlay {
        opacity: 1;
      }
    }

    [data-section-id="ig-carousel"] .ig-media__author-container {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      margin-bottom: 16px;
    }

    [data-section-id="ig-carousel"] .ig-media__author-icon {
      margin-right: 8px;
    }

    [data-section-id="ig-carousel"] .ig-media__caption {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      overflow: hidden;
    }

    [data-section-id="ig-carousel"] .ig-media__caption:first-child {
      margin-top: 0;
    }

    [data-section-id="ig-carousel"] .ig-media__date {
      margin-top: auto;
      text-transform: uppercase;
      font-size: 0.9em;
      font-weight: 500;
      letter-spacing: 0.1em;
    }

    /* Footer */
    [data-section-id="ig-carousel"] .ig-footer {
      margin-top: var(ig-footer-margin-top);
      padding: 0 var(ig-external-gutter);
      text-align: center;
    }

    [data-section-id="ig-carousel"] .ig-footer__button {
      display: inline-block;
      color: #000000;
      background: #000000;
      padding: 6px 24px;
      text-decoration: none;
    }
  
