#atCategories,
  #atCategories * {
    box-sizing: border-box;
  }

  #atCategories {
    --at-blue: #116da7;
    --at-blue-dark: #084d7a;
    --at-red: #e53935;
    --at-text: #17364a;
    --at-muted: #6d7d88;
    --at-surface: #f4f8fb;
    --at-gap: 16px;
    --at-per-view: 5;
    width: min(1400px, calc(100% - 32px));
    margin: 36px auto;
    padding: 28px;
    overflow: hidden;
    background:
      radial-gradient(circle at 5% 0%, rgba(17, 109, 167, .11), transparent 28%),
      linear-gradient(145deg, #fff 0%, #f8fbfd 100%);
    border: 1px solid rgba(17, 109, 167, .12);
    border-radius: 26px;
    box-shadow: 0 18px 55px rgba(17, 66, 96, .09);
    font-family: inherit;
  }

  #atCategories .at-categories__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
  }

  #atCategories .at-categories__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: var(--at-blue);
    font-size: 13px;
    font-weight: 800;
  }

  #atCategories .at-categories__eyebrow::before {
    width: 22px;
    height: 3px;
    background: var(--at-red);
    border-radius: 20px;
    content: "";
  }

  #atCategories h2 {
    margin: 0;
    color: var(--at-text);
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 900;
    line-height: 1.25;
  }

  #atCategories .at-categories__head p {
    margin: 7px 0 0;
    color: var(--at-muted);
    font-size: 14px;
  }

  #atCategories .at-categories__arrows {
    position: relative;
    z-index: 20;
    display: flex;
    flex: 0 0 auto;
    gap: 9px;
    direction: rtl;
    pointer-events: auto;
  }

  #atCategories .at-arrow {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    color: var(--at-blue);
    background: #fff;
    border: 1px solid rgba(17, 109, 167, .18);
    border-radius: 50%;
    box-shadow: 0 7px 18px rgba(17, 73, 109, .10);
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    transition: transform .22s ease, color .22s ease, background .22s ease, opacity .22s ease;
  }

  #atCategories .at-arrow:hover {
    color: #fff;
    background: var(--at-blue);
    transform: translateY(-2px);
  }

  #atCategories .at-arrow:disabled {
    opacity: .35;
    cursor: default;
    transform: none;
  }

  #atCategories .at-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  #atCategories .at-slider {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
  }

  #atCategories .at-slider__track {
    display: flex;
    gap: var(--at-gap);
    width: max-content;
    direction: ltr;
    will-change: transform;
    transition: transform .62s cubic-bezier(.22, .74, .16, 1);
  }

  #atCategories .at-category-card {
    position: relative;
    display: flex;
    flex: 0 0 calc((100vw - 32px - 56px - (var(--at-gap) * (var(--at-per-view) - 1))) / var(--at-per-view));
    width: calc((100vw - 32px - 56px - (var(--at-gap) * (var(--at-per-view) - 1))) / var(--at-per-view));
    max-width: calc((1400px - 56px - (var(--at-gap) * (var(--at-per-view) - 1))) / var(--at-per-view));
    min-width: 0;
    min-height: 260px;
    overflow: hidden;
    flex-direction: column;
    color: var(--at-text);
    direction: rtl;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(17, 109, 167, .11);
    border-radius: 20px;
    box-shadow: 0 9px 26px rgba(17, 66, 96, .08);
    isolation: isolate;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  }

  #atCategories .at-category-card::before {
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    height: 4px;
    background: linear-gradient(90deg, var(--at-blue), var(--at-red));
    content: "";
    transform: scaleX(.22);
    transform-origin: right;
    transition: transform .35s ease;
  }

  #atCategories .at-category-card:hover {
    border-color: rgba(17, 109, 167, .28);
    box-shadow: 0 17px 35px rgba(17, 66, 96, .15);
    transform: translateY(-7px);
  }

  #atCategories .at-category-card:hover::before {
    transform: scaleX(1);
  }

  #atCategories .at-category-card__media {
    position: relative;
    display: grid;
    min-height: 178px;
    overflow: hidden;
    place-items: center;
    background:
      radial-gradient(circle at 50% 46%, #fff 0 32%, transparent 68%),
      linear-gradient(145deg, #f8fbfd, #eaf3f8);
  }

  #atCategories .at-category-card__media::after {
    position: absolute;
    right: 16%;
    bottom: 10px;
    left: 16%;
    height: 14px;
    background: rgba(15, 55, 78, .13);
    border-radius: 50%;
    filter: blur(9px);
    content: "";
  }

  #atCategories .at-category-card__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 178px;
    padding: 13px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .38s cubic-bezier(.22, .74, .16, 1);
  }

  #atCategories .at-category-card:hover .at-category-card__media img {
    transform: scale(1.075) rotate(-1.2deg);
  }

  #atCategories .at-category-card__media--tools svg {
    position: relative;
    z-index: 1;
    width: 92%;
    height: 165px;
    filter: drop-shadow(0 14px 11px rgba(13, 56, 82, .17));
    transition: transform .38s cubic-bezier(.22, .74, .16, 1);
  }

  #atCategories .at-category-card:hover .at-category-card__media--tools svg {
    transform: scale(1.06) rotate(-1deg);
  }

  #atCategories .at-category-card__body {
    display: flex;
    min-height: 81px;
    padding: 15px 16px;
    flex-direction: column;
    justify-content: center;
  }

  #atCategories .at-category-card__body strong {
    overflow: hidden;
    color: var(--at-text);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #atCategories .at-category-card__body small {
    margin-top: 3px;
    color: var(--at-blue);
    font-size: 12px;
    font-weight: 700;
  }

  #atCategories .at-category-card__go {
    position: absolute;
    bottom: 16px;
    left: 14px;
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    color: #fff;
    background: var(--at-blue);
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    opacity: .88;
    transition: background .25s ease, transform .25s ease;
  }

  #atCategories .at-category-card:hover .at-category-card__go {
    background: var(--at-red);
    transform: translateX(-3px);
  }

  #atCategories .at-slider__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
  }

  #atCategories .at-slider__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }

  #atCategories .at-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    background: #c7d7e1;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
  }

  #atCategories .at-dot.is-active {
    width: 25px;
    background: var(--at-blue);
  }

  #atCategories .at-slider__progress {
    width: 84px;
    height: 3px;
    overflow: hidden;
    background: #dbe7ee;
    border-radius: 999px;
  }

  #atCategories .at-slider__progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--at-red);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: right;
  }

  #atCategories.is-playing .at-slider__progress span {
    animation: atSliderProgress 4s linear infinite;
  }

  @keyframes atSliderProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }

  @media (max-width: 1050px) {
    #atCategories {
      --at-per-view: 3;
    }
  }

  @media (max-width: 680px) {
    #atCategories {
      --at-gap: 11px;
      --at-per-view: 2;
      width: calc(100% - 20px);
      margin: 24px auto;
      padding: 19px 13px;
      border-radius: 20px;
    }

    #atCategories .at-categories__head {
      align-items: center;
      margin-bottom: 16px;
    }

    #atCategories .at-categories__head p {
      display: none;
    }

    #atCategories .at-categories__eyebrow {
      font-size: 11px;
    }

    #atCategories h2 {
      font-size: 22px;
    }

    #atCategories .at-categories__arrows {
      gap: 6px;
    }

    #atCategories .at-arrow {
      width: 37px;
      height: 37px;
    }

    #atCategories .at-category-card {
      flex-basis: calc((100vw - 20px - 26px - var(--at-gap)) / 2);
      width: calc((100vw - 20px - 26px - var(--at-gap)) / 2);
      min-height: 210px;
      border-radius: 16px;
    }

    #atCategories .at-category-card__media {
      min-height: 137px;
    }

    #atCategories .at-category-card__media img {
      height: 137px;
      padding: 9px;
    }

    #atCategories .at-category-card__media--tools svg {
      height: 130px;
    }

    #atCategories .at-category-card__body {
      min-height: 72px;
      padding: 12px 11px;
    }

    #atCategories .at-category-card__body strong {
      font-size: 13px;
    }

    #atCategories .at-category-card__body small {
      font-size: 10px;
    }

    #atCategories .at-category-card__go {
      bottom: 13px;
      left: 9px;
      width: 25px;
      height: 25px;
      font-size: 13px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    #atCategories .at-slider__track,
    #atCategories .at-category-card,
    #atCategories .at-category-card__media img,
    #atCategories .at-category-card__media--tools svg {
      transition: none;
    }

    #atCategories .at-slider__progress {
      display: none;
    }
  }