/* Asmaneez V2.3 Phase 14 — Our Work carousel controls only. */
/* Keep the six existing dot indicators, without the numeric project counter. */
.carousel[data-carousel] .carousel__count {display:none!important}
.carousel[data-carousel] .carousel__nav {justify-content:center;margin-block-start:clamp(1.5rem,3vw,2.5rem);min-height:2.75rem;position:static}
.carousel[data-carousel] .carousel__dots {justify-content:center}
/* Outer-edge chevrons, aligned with the center of the project content. */
.carousel[data-carousel] .carousel__arrow {
  position:absolute;top:40%;z-index:5;display:grid;place-items:center;
  inline-size:3.25rem;block-size:5.5rem;min-inline-size:3.25rem;min-block-size:4rem;
  border:none!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;color:#8d959f;cursor:pointer;
  transform:translateY(-50%);transition:color .2s ease,opacity .2s ease;
}
.carousel[data-carousel] .carousel__arrow[data-dir="-1"] {left:calc(50% - 50vw + clamp(1rem,2.5vw,3rem));right:auto}
.carousel[data-carousel] .carousel__arrow[data-dir="1"] {right:calc(50% - 50vw + clamp(1rem,2.5vw,3rem));left:auto}
.carousel[data-carousel] .carousel__arrow:hover {color:#394956;transform:translateY(-50%)}
.carousel[data-carousel] .carousel__arrow:focus-visible {outline:2px solid #0076e6;outline-offset:4px;color:#394956}
.carousel[data-carousel] .carousel__arrow[disabled] {opacity:.25;cursor:default;transform:translateY(-50%)}
.carousel[data-carousel] .carousel__arrow svg {inline-size:2.4rem;block-size:4.3rem}
/* Align previous/next with RTL reading order. */
[dir="rtl"] .carousel[data-carousel] .carousel__arrow[data-dir="-1"] {right:calc(50% - 50vw + clamp(1rem,2.5vw,3rem));left:auto}
[dir="rtl"] .carousel[data-carousel] .carousel__arrow[data-dir="1"] {left:calc(50% - 50vw + clamp(1rem,2.5vw,3rem));right:auto}
/* On narrow devices, place the same clean chevrons on each end of the dot row. */
@media(max-width:800px){
  .carousel[data-carousel] .carousel__nav {display:grid;grid-template-columns:minmax(2.75rem,1fr) auto minmax(2.75rem,1fr);column-gap:.3rem}
  .carousel[data-carousel] .carousel__dots {grid-column:2;grid-row:1}
  .carousel[data-carousel] .carousel__arrow,
  .carousel[data-carousel] .carousel__arrow:hover,
  .carousel[data-carousel] .carousel__arrow[disabled] {
    position:static;top:auto;left:auto!important;right:auto!important;
    transform:none;inline-size:2.75rem;block-size:2.75rem;min-inline-size:2.75rem;min-block-size:2.75rem;
    justify-self:start;
  }
  .carousel[data-carousel] .carousel__arrow[data-dir="1"] {grid-column:3;grid-row:1;justify-self:end}
  .carousel[data-carousel] .carousel__arrow[data-dir="-1"] {grid-column:1;grid-row:1}
  [dir="rtl"] .carousel[data-carousel] .carousel__arrow[data-dir="-1"] {grid-column:1;justify-self:start}
  [dir="rtl"] .carousel[data-carousel] .carousel__arrow[data-dir="1"] {grid-column:3;justify-self:end}
  .carousel[data-carousel] .carousel__arrow svg {inline-size:1.5rem;block-size:2.65rem}
}
